Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HiiragiGuardians
ygopro-THC-cards
Commits
8c2d9a2e
Commit
8c2d9a2e
authored
Aug 15, 2024
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c86379805.lua
parent
d9fd4423
Pipeline
#29233
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
42 deletions
+6
-42
script/c86379805.lua
script/c86379805.lua
+6
-42
No files found.
script/c86379805.lua
View file @
8c2d9a2e
...
...
@@ -137,24 +137,12 @@ function c86379805.sop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_PUBLIC
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
--forbidden
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_RANGE
)
e2
:
SetCode
(
EFFECT_FORBIDDEN
)
e2
:
SetTargetRange
(
0xff
,
0xff
)
e2
:
SetTarget
(
c86379805
.
bantg
)
e2
:
SetLabelObject
(
tc
)
Duel
.
RegisterEffect
(
e2
,
tp
)
--adjust
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e3
:
SetCode
(
EVENT_ADJUST
)
e3
:
SetCondition
(
c86379805
.
adjustcon
)
e3
:
SetOperation
(
c86379805
.
adjustop
)
e3
:
SetLabelObject
(
e2
)
Duel
.
RegisterEffect
(
e3
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetCode
(
EFFECT_FORBIDDEN
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
,
true
)
--[[local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
...
...
@@ -193,30 +181,6 @@ function c86379805.rmop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c86379805
.
banfilter
(
c
,
e
)
return
c
==
e
:
GetLabelObject
()
and
c
:
IsPublic
()
end
function
c86379805
.
banfilter2
(
c
,
tc
)
return
c
==
tc
and
c
:
IsPublic
()
end
function
c86379805
.
adjustcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e2
=
e
:
GetLabelObject
()
if
not
e2
then
return
false
end
local
tc
=
e2
:
GetLabelObject
()
if
not
tc
then
return
false
end
return
not
Duel
.
IsExistingMatchingCard
(
c86379805
.
banfilter2
,
tp
,
LOCATION_HAND
,
LOCATION_HAND
,
1
,
nil
,
tc
)
end
function
c86379805
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e2
=
e
:
GetLabelObject
()
local
tc
=
e2
:
GetLabelObject
()
if
not
Duel
.
IsExistingMatchingCard
(
c86379805
.
banfilter2
,
tp
,
LOCATION_HAND
,
LOCATION_HAND
,
1
,
nil
,
tc
)
then
e2
:
Reset
()
e
:
Reset
()
end
end
function
c86379805
.
bantg
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
end
function
c86379805
.
splimit
(
e
,
c
)
local
tc
=
e
:
GetLabel
()
return
c
:
IsCode
(
tc
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment