Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
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
MyCard
ygopro-scripts-888
Commits
321e5f57
Commit
321e5f57
authored
Oct 23, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix aux.dscon() call
parent
5f74f474
Changes
38
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
38 additions
and
38 deletions
+38
-38
c10497636.lua
c10497636.lua
+1
-1
c12219047.lua
c12219047.lua
+1
-1
c12501230.lua
c12501230.lua
+1
-1
c13302026.lua
c13302026.lua
+1
-1
c16708652.lua
c16708652.lua
+1
-1
c18558867.lua
c18558867.lua
+1
-1
c20137754.lua
c20137754.lua
+1
-1
c20419926.lua
c20419926.lua
+1
-1
c23790299.lua
c23790299.lua
+1
-1
c26773909.lua
c26773909.lua
+1
-1
c28325165.lua
c28325165.lua
+1
-1
c3134857.lua
c3134857.lua
+1
-1
c31600845.lua
c31600845.lua
+1
-1
c32549749.lua
c32549749.lua
+1
-1
c32615065.lua
c32615065.lua
+1
-1
c34976176.lua
c34976176.lua
+1
-1
c38695361.lua
c38695361.lua
+1
-1
c4055337.lua
c4055337.lua
+1
-1
c46724542.lua
c46724542.lua
+1
-1
c47946130.lua
c47946130.lua
+1
-1
c49221191.lua
c49221191.lua
+1
-1
c50903514.lua
c50903514.lua
+1
-1
c54965929.lua
c54965929.lua
+1
-1
c55461064.lua
c55461064.lua
+1
-1
c56535497.lua
c56535497.lua
+1
-1
c57135971.lua
c57135971.lua
+1
-1
c61397885.lua
c61397885.lua
+1
-1
c67113830.lua
c67113830.lua
+1
-1
c68679595.lua
c68679595.lua
+1
-1
c71612253.lua
c71612253.lua
+1
-1
c72554862.lua
c72554862.lua
+1
-1
c73729209.lua
c73729209.lua
+1
-1
c79016563.lua
c79016563.lua
+1
-1
c79856792.lua
c79856792.lua
+1
-1
c88494120.lua
c88494120.lua
+1
-1
c89238128.lua
c89238128.lua
+1
-1
c93211810.lua
c93211810.lua
+1
-1
c93356623.lua
c93356623.lua
+1
-1
No files found.
c10497636.lua
View file @
321e5f57
...
@@ -109,7 +109,7 @@ function c10497636.disop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -109,7 +109,7 @@ function c10497636.disop2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c10497636
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10497636
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
10497636
)
>
0
return
Duel
.
GetFlagEffect
(
tp
,
10497636
)
>
0
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
and
aux
.
dscon
()
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c10497636
.
atkfilter
(
c
)
function
c10497636
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
...
...
c12219047.lua
View file @
321e5f57
...
@@ -68,5 +68,5 @@ function c12219047.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,5 +68,5 @@ function c12219047.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c12219047
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12219047
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x10db
)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x10db
)
and
aux
.
dscon
()
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
c12501230.lua
View file @
321e5f57
...
@@ -52,7 +52,7 @@ function s.indct(e,re,r,rp)
...
@@ -52,7 +52,7 @@ function s.indct(e,re,r,rp)
else
return
0
end
else
return
0
end
end
end
function
s
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
dscon
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
end
end
function
s
.
ctcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
ctcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c13302026.lua
View file @
321e5f57
...
@@ -17,7 +17,7 @@ function s.initial_effect(c)
...
@@ -17,7 +17,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_NORMAL
)
and
aux
.
dscon
()
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_NORMAL
)
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
s
.
filter
(
c
,
e
,
tp
)
function
s
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c16708652.lua
View file @
321e5f57
...
@@ -14,7 +14,7 @@ function c16708652.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c16708652.initial_effect(c)
end
end
function
c16708652
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16708652
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c16708652
.
filter1
(
c
)
function
c16708652
.
filter1
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsSetCard
(
0x11
)
and
c
:
IsCanChangePosition
()
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsSetCard
(
0x11
)
and
c
:
IsCanChangePosition
()
...
...
c18558867.lua
View file @
321e5f57
...
@@ -48,7 +48,7 @@ function c18558867.checkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c18558867.checkop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c18558867
.
dracon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c18558867
.
dracon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
18558867
)
>
0
return
Duel
.
GetFlagEffect
(
tp
,
18558867
)
>
0
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
and
aux
.
dscon
()
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c18558867
.
atkfilter
(
c
)
function
c18558867
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x15f
)
...
...
c20137754.lua
View file @
321e5f57
...
@@ -52,7 +52,7 @@ function c20137754.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c20137754.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c20137754
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20137754
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
20137754
)
>
0
return
e
:
GetHandler
():
GetFlagEffect
(
20137754
)
>
0
and
aux
.
dscon
()
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c20137754
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c20137754
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
TYPE_MONSTER
)
>
0
end
if
chk
==
0
then
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
TYPE_MONSTER
)
>
0
end
...
...
c20419926.lua
View file @
321e5f57
...
@@ -23,7 +23,7 @@ function c20419926.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c20419926.initial_effect(c)
end
end
function
c20419926
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20419926
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c20419926
.
costfilter
(
c
)
function
c20419926
.
costfilter
(
c
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsAttackAbove
(
1
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsAttackAbove
(
1
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
c23790299.lua
View file @
321e5f57
...
@@ -41,7 +41,7 @@ function c23790299.initial_effect(c)
...
@@ -41,7 +41,7 @@ function c23790299.initial_effect(c)
end
end
function
c23790299
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23790299
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c23790299
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c23790299
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c26773909.lua
View file @
321e5f57
...
@@ -29,7 +29,7 @@ function c26773909.checkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -29,7 +29,7 @@ function c26773909.checkop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c26773909
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c26773909
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c26773909
.
filter
(
c
,
lp
)
function
c26773909
.
filter
(
c
,
lp
)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
lp
)
and
c
:
GetFlagEffect
(
26773909
)
==
0
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
lp
)
and
c
:
GetFlagEffect
(
26773909
)
==
0
...
...
c28325165.lua
View file @
321e5f57
...
@@ -16,7 +16,7 @@ function c28325165.cfilter(c)
...
@@ -16,7 +16,7 @@ function c28325165.cfilter(c)
return
c
:
IsSetCard
(
0xcd
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0xcd
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c28325165
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28325165
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
dscon
()
return
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
IsExistingMatchingCard
(
c28325165
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c28325165
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
end
function
c28325165
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c28325165
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c3134857.lua
View file @
321e5f57
...
@@ -45,7 +45,7 @@ function c3134857.tdcon1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c3134857.tdcon1(e,tp,eg,ep,ev,re,r,rp)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
90351981
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
90351981
)
end
end
function
c3134857
.
tdcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c3134857
.
tdcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
dscon
()
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
90351981
)
return
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
90351981
)
end
end
function
c3134857
.
tdfilter
(
c
)
function
c3134857
.
tdfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAbleToDeck
()
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAbleToDeck
()
...
...
c31600845.lua
View file @
321e5f57
...
@@ -51,7 +51,7 @@ function c31600845.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c31600845.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c31600845
.
dhcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31600845
.
dhcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
aux
.
dscon
()
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c31600845
.
xfilter
(
c
)
function
c31600845
.
xfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
GetAttack
()
>
0
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
GetAttack
()
>
0
...
...
c32549749.lua
View file @
321e5f57
...
@@ -30,7 +30,7 @@ function c32549749.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -30,7 +30,7 @@ function c32549749.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
not
e
:
GetHandler
():
IsLocation
(
LOCATION_SZONE
)
then
ft
=
ft
-
1
end
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
not
e
:
GetHandler
():
IsLocation
(
LOCATION_SZONE
)
then
ft
=
ft
-
1
end
local
b1
=
aux
.
dscon
()
local
b1
=
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
local
b2
=
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
and
ft
>
0
local
b2
=
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
and
ft
>
0
and
Duel
.
IsExistingTarget
(
c32549749
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
tp
)
and
Duel
.
IsExistingTarget
(
c32549749
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
tp
)
...
...
c32615065.lua
View file @
321e5f57
...
@@ -44,7 +44,7 @@ function c32615065.ffilter(c)
...
@@ -44,7 +44,7 @@ function c32615065.ffilter(c)
end
end
function
c32615065
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c32615065
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
and
aux
.
dscon
()
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c32615065
.
atkfilter
(
c
)
function
c32615065
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
>
0
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
>
0
...
...
c34976176.lua
View file @
321e5f57
...
@@ -30,7 +30,7 @@ function c34976176.discon1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,7 +30,7 @@ function c34976176.discon1(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c34976176
.
discon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c34976176
.
discon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c34976176
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c34976176
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
aux
.
dscon
()
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c34976176
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c34976176
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
...
...
c38695361.lua
View file @
321e5f57
...
@@ -29,7 +29,7 @@ function c38695361.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c38695361.initial_effect(c)
end
end
function
c38695361
.
atkcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c38695361
.
atkcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c38695361
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c38695361
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
...
...
c4055337.lua
View file @
321e5f57
...
@@ -32,7 +32,7 @@ function c4055337.atkcon1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -32,7 +32,7 @@ function c4055337.atkcon1(e,tp,eg,ep,ev,re,r,rp)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
90351981
)
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
90351981
)
end
end
function
c4055337
.
atkcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4055337
.
atkcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
dscon
()
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
90351981
)
return
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
90351981
)
end
end
function
c4055337
.
tgfilter
(
c
)
function
c4055337
.
tgfilter
(
c
)
return
c
:
IsFaceup
()
return
c
:
IsFaceup
()
...
...
c46724542.lua
View file @
321e5f57
...
@@ -26,7 +26,7 @@ function c46724542.lcheck(g,lc)
...
@@ -26,7 +26,7 @@ function c46724542.lcheck(g,lc)
end
end
function
c46724542
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c46724542
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
and
aux
.
dscon
()
and
e
:
GetHandler
():
GetAttackAnnouncedCount
()
<
1
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
e
:
GetHandler
():
GetAttackAnnouncedCount
()
<
1
end
end
function
c46724542
.
filter
(
c
)
function
c46724542
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttackAbove
(
2100
)
and
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsFaceup
()
and
c
:
IsAttackAbove
(
2100
)
and
c
:
IsRace
(
RACE_MACHINE
)
...
...
c47946130.lua
View file @
321e5f57
...
@@ -84,7 +84,7 @@ function c47946130.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,7 +84,7 @@ function c47946130.negop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c47946130
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c47946130
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
not
c
:
IsAttack
(
c
:
GetBaseAttack
())
and
aux
.
dscon
()
return
not
c
:
IsAttack
(
c
:
GetBaseAttack
())
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c47946130
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c47946130
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c49221191.lua
View file @
321e5f57
...
@@ -23,7 +23,7 @@ function c49221191.ovfilter(c)
...
@@ -23,7 +23,7 @@ function c49221191.ovfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
65676461
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
65676461
)
end
end
function
c49221191
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c49221191
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetLP
(
tp
)
<=
1000
and
aux
.
dscon
()
return
Duel
.
GetLP
(
tp
)
<=
1000
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c49221191
.
rfilter
(
c
)
function
c49221191
.
rfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
...
...
c50903514.lua
View file @
321e5f57
...
@@ -29,7 +29,7 @@ function c50903514.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c50903514.initial_effect(c)
end
end
function
c50903514
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50903514
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c50903514
.
filter
(
c
)
function
c50903514
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WARRIOR
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WARRIOR
)
...
...
c54965929.lua
View file @
321e5f57
...
@@ -78,7 +78,7 @@ function c54965929.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,7 +78,7 @@ function c54965929.acop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c54965929
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c54965929
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
and
aux
.
dscon
()
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c54965929
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c54965929
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c55461064.lua
View file @
321e5f57
...
@@ -17,7 +17,7 @@ function c55461064.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c55461064.initial_effect(c)
end
end
function
c55461064
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c55461064
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c55461064
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c55461064
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
...
...
c56535497.lua
View file @
321e5f57
...
@@ -25,7 +25,7 @@ end
...
@@ -25,7 +25,7 @@ end
function
c56535497
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c56535497
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
if
Duel
.
GetTurnPlayer
()
==
tp
then
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
if
Duel
.
GetTurnPlayer
()
==
tp
then
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
else
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
()
end
else
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
end
function
c56535497
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c56535497
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c57135971.lua
View file @
321e5f57
...
@@ -89,7 +89,7 @@ function c57135971.eqlimit(e,c)
...
@@ -89,7 +89,7 @@ function c57135971.eqlimit(e,c)
return
c
:
IsSetCard
(
0x3b
)
return
c
:
IsSetCard
(
0x3b
)
end
end
function
c57135971
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57135971
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetEquipTarget
()
and
aux
.
dscon
()
return
e
:
GetHandler
():
GetEquipTarget
()
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c57135971
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c57135971
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
...
...
c61397885.lua
View file @
321e5f57
...
@@ -37,7 +37,7 @@ end
...
@@ -37,7 +37,7 @@ end
function
c61397885
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61397885
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
and
not
Duel
.
IsExistingMatchingCard
(
c61397885
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
not
Duel
.
IsExistingMatchingCard
(
c61397885
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
aux
.
dscon
()
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c61397885
.
mfilter
(
c
)
function
c61397885
.
mfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
...
...
c67113830.lua
View file @
321e5f57
...
@@ -12,7 +12,7 @@ function c67113830.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c67113830.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c67113830
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c67113830
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
dscon
()
return
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_GRAVE
)
>
7
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_GRAVE
)
>
7
end
end
function
c67113830
.
filter
(
c
)
function
c67113830
.
filter
(
c
)
...
...
c68679595.lua
View file @
321e5f57
...
@@ -61,7 +61,7 @@ end
...
@@ -61,7 +61,7 @@ end
function
c68679595
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68679595
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
c
:
GetEquipGroup
()
local
g
=
c
:
GetEquipGroup
()
return
g
:
IsExists
(
c68679595
.
cfilter
,
1
,
nil
)
and
aux
.
dscon
()
return
g
:
IsExists
(
c68679595
.
cfilter
,
1
,
nil
)
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c68679595
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c68679595
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
aux
.
NegateEffectMonsterFilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
aux
.
NegateEffectMonsterFilter
(
chkc
)
end
...
...
c71612253.lua
View file @
321e5f57
...
@@ -47,7 +47,7 @@ function c71612253.checkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c71612253.checkop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c71612253
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71612253
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
71612253
)
~=
0
and
aux
.
dscon
()
return
Duel
.
GetFlagEffect
(
tp
,
71612253
)
~=
0
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c71612253
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c71612253
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
c72554862.lua
View file @
321e5f57
...
@@ -47,7 +47,7 @@ function c72554862.val(e,c)
...
@@ -47,7 +47,7 @@ function c72554862.val(e,c)
end
end
function
c72554862
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72554862
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
72554862
)
>
0
return
Duel
.
GetFlagEffect
(
tp
,
72554862
)
>
0
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
and
aux
.
dscon
()
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c72554862
.
spfilter
(
c
,
e
,
tp
)
function
c72554862
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
5
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
5
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c73729209.lua
View file @
321e5f57
...
@@ -46,5 +46,5 @@ function c73729209.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,5 +46,5 @@ function c73729209.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c73729209
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73729209
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
exccon
(
e
)
and
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
dscon
()
return
aux
.
exccon
(
e
)
and
Duel
.
GetTurnPlayer
()
==
tp
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
c79016563.lua
View file @
321e5f57
...
@@ -47,7 +47,7 @@ function c79016563.recop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c79016563.recop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Recover
(
p
,
d
,
REASON_EFFECT
)
Duel
.
Recover
(
p
,
d
,
REASON_EFFECT
)
end
end
function
c79016563
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c79016563
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
dscon
()
return
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
e
:
GetHandler
():
GetMutualLinkedGroupCount
()
>=
2
and
e
:
GetHandler
():
GetMutualLinkedGroupCount
()
>=
2
end
end
function
c79016563
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c79016563
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c79856792.lua
View file @
321e5f57
...
@@ -60,7 +60,7 @@ function c79856792.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c79856792.spop(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
RegisterFlagEffect
(
79856792
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
-
RESET_TURN_SET
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
79856792
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
-
RESET_TURN_SET
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c79856792
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c79856792
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
dscon
()
and
e
:
GetHandler
():
GetFlagEffect
(
79856792
)
==
0
return
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
e
:
GetHandler
():
GetFlagEffect
(
79856792
)
==
0
end
end
function
c79856792
.
afilter
(
c
)
function
c79856792
.
afilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1034
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1034
)
and
c
:
IsAbleToGraveAsCost
()
...
...
c88494120.lua
View file @
321e5f57
...
@@ -13,7 +13,7 @@ function c88494120.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c88494120.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c88494120
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c88494120
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
dscon
()
return
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
==
1
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
==
1
end
end
function
c88494120
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c88494120
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c89238128.lua
View file @
321e5f57
...
@@ -31,7 +31,7 @@ function c89238128.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c89238128.initial_effect(c)
end
end
function
c89238128
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c89238128
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
return
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
and
aux
.
dscon
()
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c89238128
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c89238128
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetAttackAnnouncedCount
()
==
0
end
if
chk
==
0
then
return
e
:
GetHandler
():
GetAttackAnnouncedCount
()
==
0
end
...
...
c93211810.lua
View file @
321e5f57
...
@@ -41,7 +41,7 @@ function c93211810.clear(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,7 @@ function c93211810.clear(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c93211810
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c93211810
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
ph
<
PHASE_MAIN2
and
aux
.
dscon
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
ph
<
PHASE_MAIN2
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c93211810
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c93211810
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
c93211810
[
tp
]
<
2
end
if
chk
==
0
then
return
c93211810
[
tp
]
<
2
end
...
...
c93356623.lua
View file @
321e5f57
...
@@ -18,7 +18,7 @@ function c93356623.cfilter(c)
...
@@ -18,7 +18,7 @@ function c93356623.cfilter(c)
end
end
function
c93356623
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c93356623
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c93356623
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c93356623
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
aux
.
dscon
()
and
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c93356623
.
filter
(
c
)
function
c93356623
.
filter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
GetAttack
()
>
0
or
c
:
GetDefense
()
>
0
or
aux
.
NegateMonsterFilter
(
c
))
return
c
:
IsFaceup
()
and
(
c
:
GetAttack
()
>
0
or
c
:
GetDefense
()
>
0
or
aux
.
NegateMonsterFilter
(
c
))
...
...
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