Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
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
Commits
76943c8e
Commit
76943c8e
authored
Dec 17, 2014
by
Argon.Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
dc22d6cf
Changes
37
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
39 additions
and
39 deletions
+39
-39
script/c10963799.lua
script/c10963799.lua
+1
-1
script/c12624008.lua
script/c12624008.lua
+1
-1
script/c13846680.lua
script/c13846680.lua
+1
-1
script/c19740112.lua
script/c19740112.lua
+1
-1
script/c24731453.lua
script/c24731453.lua
+1
-1
script/c28290705.lua
script/c28290705.lua
+1
-1
script/c28423537.lua
script/c28423537.lua
+1
-1
script/c31480215.lua
script/c31480215.lua
+1
-1
script/c3395226.lua
script/c3395226.lua
+1
-1
script/c35629124.lua
script/c35629124.lua
+1
-1
script/c39853199.lua
script/c39853199.lua
+1
-1
script/c4064256.lua
script/c4064256.lua
+1
-1
script/c42155488.lua
script/c42155488.lua
+1
-1
script/c45500495.lua
script/c45500495.lua
+1
-1
script/c46145256.lua
script/c46145256.lua
+1
-1
script/c47687766.lua
script/c47687766.lua
+1
-1
script/c47961808.lua
script/c47961808.lua
+1
-1
script/c48210156.lua
script/c48210156.lua
+1
-1
script/c50957346.lua
script/c50957346.lua
+1
-1
script/c53334471.lua
script/c53334471.lua
+2
-2
script/c59235795.lua
script/c59235795.lua
+1
-1
script/c59281922.lua
script/c59281922.lua
+1
-1
script/c60530944.lua
script/c60530944.lua
+1
-1
script/c63193879.lua
script/c63193879.lua
+1
-1
script/c63881033.lua
script/c63881033.lua
+1
-1
script/c64319467.lua
script/c64319467.lua
+1
-1
script/c70797118.lua
script/c70797118.lua
+1
-1
script/c71175527.lua
script/c71175527.lua
+1
-1
script/c72537897.lua
script/c72537897.lua
+1
-1
script/c73356503.lua
script/c73356503.lua
+1
-1
script/c84478195.lua
script/c84478195.lua
+1
-1
script/c86229493.lua
script/c86229493.lua
+1
-1
script/c86442081.lua
script/c86442081.lua
+1
-1
script/c8696773.lua
script/c8696773.lua
+1
-1
script/c90846359.lua
script/c90846359.lua
+2
-2
script/c92729410.lua
script/c92729410.lua
+1
-1
script/c97584500.lua
script/c97584500.lua
+1
-1
No files found.
script/c10963799.lua
View file @
76943c8e
...
@@ -11,5 +11,5 @@ function c10963799.initial_effect(c)
...
@@ -11,5 +11,5 @@ function c10963799.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c10963799
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c10963799
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_WATER
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_WATER
end
end
script/c12624008.lua
View file @
76943c8e
...
@@ -15,7 +15,7 @@ function c12624008.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c12624008.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
function
c12624008
.
filter
(
c
)
function
c12624008
.
filter
(
c
)
return
(
c
:
IsFacedown
()
or
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_LIGHT
)
)
and
c
:
IsDestructable
()
return
(
c
:
IsFacedown
()
or
c
:
GetAttribute
()
~=
ATTRIBUTE_LIGHT
)
and
c
:
IsDestructable
()
end
end
function
c12624008
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12624008
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c13846680.lua
View file @
76943c8e
...
@@ -15,7 +15,7 @@ function c13846680.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c13846680.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
function
c13846680
.
filter
(
c
)
function
c13846680
.
filter
(
c
)
return
(
c
:
IsFacedown
()
or
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_FIRE
)
)
and
c
:
IsDestructable
()
return
(
c
:
IsFacedown
()
or
c
:
GetAttribute
()
~=
ATTRIBUTE_FIRE
)
and
c
:
IsDestructable
()
end
end
function
c13846680
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13846680
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c19740112.lua
View file @
76943c8e
...
@@ -11,5 +11,5 @@ function c19740112.initial_effect(c)
...
@@ -11,5 +11,5 @@ function c19740112.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c19740112
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c19740112
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_EARTH
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_EARTH
end
end
script/c24731453.lua
View file @
76943c8e
...
@@ -22,7 +22,7 @@ function c24731453.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c24731453.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c24731453
.
splimit
(
e
,
c
)
function
c24731453
.
splimit
(
e
,
c
)
return
c
:
IsRace
(
0xffffff
-
RACE_MACHINE
)
return
c
:
GetRace
()
~=
RACE_MACHINE
end
end
function
c24731453
.
cfilter
(
c
)
function
c24731453
.
cfilter
(
c
)
return
c
:
GetSequence
()
<
5
return
c
:
GetSequence
()
<
5
...
...
script/c28290705.lua
View file @
76943c8e
...
@@ -20,7 +20,7 @@ function c28290705.adcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -20,7 +20,7 @@ function c28290705.adcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
end
function
c28290705
.
filter
(
c
)
function
c28290705
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
0xffff
-
ATTRIBUTE_EARTH
)
return
c
:
IsFaceup
()
and
c
:
GetAttribute
()
~=
ATTRIBUTE_EARTH
end
end
function
c28290705
.
adtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c28290705
.
adtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28290705
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c28290705
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
script/c28423537.lua
View file @
76943c8e
...
@@ -61,7 +61,7 @@ function c28423537.ntop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -61,7 +61,7 @@ function c28423537.ntop(e,tp,eg,ep,ev,re,r,rp,c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c28423537
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c28423537
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
c
:
IsRace
(
0xffffff
-
RACE_FIEND
)
return
c
:
GetRace
()
~=
RACE_FIEND
end
end
function
c28423537
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28423537
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
...
...
script/c31480215.lua
View file @
76943c8e
...
@@ -61,7 +61,7 @@ function c31480215.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,7 @@ function c31480215.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c31480215
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c31480215
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_WIND
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_WIND
end
end
function
c31480215
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c31480215
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
e
:
GetHandler
(),
0x101b
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
e
:
GetHandler
(),
0x101b
)
end
...
...
script/c3395226.lua
View file @
76943c8e
...
@@ -28,7 +28,7 @@ function c3395226.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -28,7 +28,7 @@ function c3395226.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c3395226
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c3395226
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_LIGHT
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_LIGHT
end
end
function
c3395226
.
filter
(
c
,
e
,
tp
)
function
c3395226
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c35629124.lua
View file @
76943c8e
...
@@ -41,7 +41,7 @@ function c35629124.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -41,7 +41,7 @@ function c35629124.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c35629124
.
sumlimit
(
e
,
c
)
function
c35629124
.
sumlimit
(
e
,
c
)
return
c
:
IsRace
(
0xffffff
-
RACE_DRAGON
)
return
c
:
GetRace
()
~=
RACE_DRAGON
end
end
function
c35629124
.
filter
(
c
,
e
,
tp
)
function
c35629124
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c39853199.lua
View file @
76943c8e
...
@@ -29,7 +29,7 @@ function c39853199.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c39853199.initial_effect(c)
end
end
function
c39853199
.
destg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c39853199
.
destg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
e
:
GetHandler
():
GetBattleTarget
()
local
tc
=
e
:
GetHandler
():
GetBattleTarget
()
if
chk
==
0
then
return
tc
and
tc
:
IsFaceup
()
and
tc
:
IsAttribute
(
0xff
-
ATTRIBUTE_WIND
)
end
if
chk
==
0
then
return
tc
and
tc
:
IsFaceup
()
and
tc
:
GetAttribute
()
~=
ATTRIBUTE_WIND
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
tc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
tc
,
1
,
0
,
0
)
end
end
function
c39853199
.
desop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39853199
.
desop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c4064256.lua
View file @
76943c8e
...
@@ -27,5 +27,5 @@ function c4064256.initial_effect(c)
...
@@ -27,5 +27,5 @@ function c4064256.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c4064256
.
sumlimit
(
e
,
c
,
tp
,
sumtp
)
function
c4064256
.
sumlimit
(
e
,
c
,
tp
,
sumtp
)
return
bit
.
band
(
sumtp
,
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
and
c
:
IsRace
(
0xffffff
-
RACE_ZOMBIE
)
return
bit
.
band
(
sumtp
,
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
and
c
:
GetRace
()
~=
RACE_ZOMBIE
end
end
script/c42155488.lua
View file @
76943c8e
...
@@ -57,7 +57,7 @@ function c42155488.dectg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -57,7 +57,7 @@ function c42155488.dectg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c42155488
.
sumlimit
(
e
,
c
)
function
c42155488
.
sumlimit
(
e
,
c
)
return
c
:
IsRace
(
0xffffff
-
e
:
GetLabel
()
)
return
c
:
GetRace
()
~=
e
:
GetLabel
(
)
end
end
function
c42155488
.
decop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c42155488
.
decop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
script/c45500495.lua
View file @
76943c8e
...
@@ -18,7 +18,7 @@ function c45500495.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c45500495.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c45500495
.
sumtg
(
e
,
c
)
function
c45500495
.
sumtg
(
e
,
c
)
return
c
:
IsRace
(
0xffffff
-
RACE_PLANT
)
return
c
:
GetRace
()
~=
RACE_PLANT
end
end
function
c45500495
.
ccost
(
e
,
c
,
tp
)
function
c45500495
.
ccost
(
e
,
c
,
tp
)
return
Duel
.
CheckLPCost
(
tp
,
1000
)
return
Duel
.
CheckLPCost
(
tp
,
1000
)
...
...
script/c46145256.lua
View file @
76943c8e
...
@@ -11,5 +11,5 @@ function c46145256.initial_effect(c)
...
@@ -11,5 +11,5 @@ function c46145256.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c46145256
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c46145256
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_LIGHT
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_LIGHT
end
end
script/c47687766.lua
View file @
76943c8e
...
@@ -41,5 +41,5 @@ function c47687766.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,5 +41,5 @@ function c47687766.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c47687766
.
splimit
(
e
,
c
)
function
c47687766
.
splimit
(
e
,
c
)
return
c
:
IsRace
(
0xffffff
-
RACE_MACHINE
)
return
c
:
GetRace
()
~=
RACE_MACHINE
end
end
script/c47961808.lua
View file @
76943c8e
...
@@ -11,5 +11,5 @@ function c47961808.initial_effect(c)
...
@@ -11,5 +11,5 @@ function c47961808.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c47961808
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c47961808
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_FIRE
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_FIRE
end
end
script/c48210156.lua
View file @
76943c8e
...
@@ -53,7 +53,7 @@ function c48210156.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c48210156.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c48210156
.
splimit
(
e
,
c
)
function
c48210156
.
splimit
(
e
,
c
)
return
c
:
IsRace
(
0xffffff
-
RACE_FIEND
)
return
c
:
GetRace
()
~=
RACE_FIEND
end
end
function
c48210156
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c48210156
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
e
:
GetLabel
(),
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
e
:
GetLabel
(),
1000
,
REASON_EFFECT
)
...
...
script/c50957346.lua
View file @
76943c8e
...
@@ -15,7 +15,7 @@ function c50957346.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c50957346.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
function
c50957346
.
filter
(
c
)
function
c50957346
.
filter
(
c
)
return
(
c
:
IsFacedown
()
or
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_EARTH
)
)
and
c
:
IsDestructable
()
return
(
c
:
IsFacedown
()
or
c
:
GetAttribute
()
~=
ATTRIBUTE_EARTH
)
and
c
:
IsDestructable
()
end
end
function
c50957346
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c50957346
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c53334471.lua
View file @
76943c8e
...
@@ -53,7 +53,7 @@ function c53334471.sumlimit(e,c,sump,sumtype,sumpos,targetp)
...
@@ -53,7 +53,7 @@ function c53334471.sumlimit(e,c,sump,sumtype,sumpos,targetp)
local
at
=
c53334471
[
sump
]
local
at
=
c53334471
[
sump
]
if
targetp
then
at
=
c53334471
[
targetp
]
end
if
targetp
then
at
=
c53334471
[
targetp
]
end
if
at
==
0
then
return
false
end
if
at
==
0
then
return
false
end
return
c
:
IsAttribute
(
0xff
-
at
)
return
c
:
GetAttribute
()
~=
at
end
end
function
c53334471
.
getattribute
(
g
)
function
c53334471
.
getattribute
(
g
)
local
aat
=
0
local
aat
=
0
...
@@ -65,7 +65,7 @@ function c53334471.getattribute(g)
...
@@ -65,7 +65,7 @@ function c53334471.getattribute(g)
return
aat
return
aat
end
end
function
c53334471
.
rmfilter
(
c
,
at
)
function
c53334471
.
rmfilter
(
c
,
at
)
return
not
c
:
IsAttribute
(
0xff
-
at
)
return
not
c
:
GetAttribute
()
~=
at
end
end
function
c53334471
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c53334471
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
phase
=
Duel
.
GetCurrentPhase
()
local
phase
=
Duel
.
GetCurrentPhase
()
...
...
script/c59235795.lua
View file @
76943c8e
...
@@ -15,7 +15,7 @@ function c59235795.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c59235795.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
function
c59235795
.
filter
(
c
)
function
c59235795
.
filter
(
c
)
return
(
c
:
IsFacedown
()
or
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_WIND
)
)
and
c
:
IsDestructable
()
return
(
c
:
IsFacedown
()
or
c
:
GetAttribute
()
~=
ATTRIBUTE_WIND
)
and
c
:
IsDestructable
()
end
end
function
c59235795
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c59235795
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c59281922.lua
View file @
76943c8e
...
@@ -43,7 +43,7 @@ function c59281922.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -43,7 +43,7 @@ function c59281922.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c59281922
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c59281922
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsRace
(
0xffffff
-
RACE_MACHINE
)
return
c
:
GetRace
()
~=
RACE_MACHINE
end
end
function
c59281922
.
filter
(
c
)
function
c59281922
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
70095154
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
70095154
)
...
...
script/c60530944.lua
View file @
76943c8e
...
@@ -27,7 +27,7 @@ function c60530944.getattr(g)
...
@@ -27,7 +27,7 @@ function c60530944.getattr(g)
return
aat
return
aat
end
end
function
c60530944
.
rmfilter
(
c
,
at
)
function
c60530944
.
rmfilter
(
c
,
at
)
return
not
c
:
IsAttribute
(
0xff
-
at
)
return
not
c
:
GetAttribute
()
~=
at
end
end
function
c60530944
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60530944
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
...
...
script/c63193879.lua
View file @
76943c8e
...
@@ -35,7 +35,7 @@ function c63193879.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -35,7 +35,7 @@ function c63193879.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c63193879
.
splimit
(
e
,
c
)
function
c63193879
.
splimit
(
e
,
c
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_WATER
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_WATER
end
end
function
c63193879
.
filter
(
c
)
function
c63193879
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FISH
)
and
c
:
GetLevel
()
>
0
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_FISH
)
and
c
:
GetLevel
()
>
0
...
...
script/c63881033.lua
View file @
76943c8e
...
@@ -45,7 +45,7 @@ function c63881033.initial_effect(c)
...
@@ -45,7 +45,7 @@ function c63881033.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c63881033
.
splimit
(
e
,
c
)
function
c63881033
.
splimit
(
e
,
c
)
return
c
:
IsRace
(
0xffffff
-
RACE_MACHINE
)
return
c
:
GetRace
()
~=
RACE_MACHINE
end
end
function
c63881033
.
filter
(
c
)
function
c63881033
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsRace
(
RACE_MACHINE
)
...
...
script/c64319467.lua
View file @
76943c8e
...
@@ -28,7 +28,7 @@ function c64319467.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -28,7 +28,7 @@ function c64319467.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c64319467
.
splimit
(
e
,
c
)
function
c64319467
.
splimit
(
e
,
c
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_WATER
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_WATER
end
end
function
c64319467
.
filter
(
c
,
e
,
tp
)
function
c64319467
.
filter
(
c
,
e
,
tp
)
local
lv
=
c
:
GetLevel
()
local
lv
=
c
:
GetLevel
()
...
...
script/c70797118.lua
View file @
76943c8e
...
@@ -10,7 +10,7 @@ function c70797118.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c70797118.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c70797118
.
sdfilter
(
c
)
function
c70797118
.
sdfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_LIGHT
)
return
c
:
IsFaceup
()
and
c
:
GetAttribute
()
~=
ATTRIBUTE_LIGHT
end
end
function
c70797118
.
sdcon
(
e
)
function
c70797118
.
sdcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c70797118
.
sdfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c70797118
.
sdfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
script/c71175527.lua
View file @
76943c8e
...
@@ -52,5 +52,5 @@ function c71175527.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,5 +52,5 @@ function c71175527.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c71175527
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c71175527
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_WIND
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_WIND
end
end
script/c72537897.lua
View file @
76943c8e
...
@@ -26,7 +26,7 @@ function c72537897.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -26,7 +26,7 @@ function c72537897.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c72537897
.
splimit
(
e
,
c
)
function
c72537897
.
splimit
(
e
,
c
)
return
c
:
IsRace
(
0xffffff
-
RACE_BEAST
)
return
c
:
GetRace
()
~=
RACE_BEAST
end
end
function
c72537897
.
spfilter
(
c
,
e
,
tp
)
function
c72537897
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_BEAST
)
and
c
:
IsLevelBelow
(
2
)
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_BEAST
)
and
c
:
IsLevelBelow
(
2
)
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c73356503.lua
View file @
76943c8e
...
@@ -11,5 +11,5 @@ function c73356503.initial_effect(c)
...
@@ -11,5 +11,5 @@ function c73356503.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c73356503
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c73356503
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_WIND
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_WIND
end
end
script/c84478195.lua
View file @
76943c8e
...
@@ -11,5 +11,5 @@ function c84478195.initial_effect(c)
...
@@ -11,5 +11,5 @@ function c84478195.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c84478195
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c84478195
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_DARK
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_DARK
end
end
script/c86229493.lua
View file @
76943c8e
...
@@ -15,7 +15,7 @@ function c86229493.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c86229493.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
function
c86229493
.
filter
(
c
)
function
c86229493
.
filter
(
c
)
return
(
c
:
IsFacedown
()
or
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_DARK
)
)
and
c
:
IsDestructable
()
return
(
c
:
IsFacedown
()
or
c
:
GetAttribute
()
~=
ATTRIBUTE_DARK
)
and
c
:
IsDestructable
()
end
end
function
c86229493
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c86229493
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c86442081.lua
View file @
76943c8e
...
@@ -15,7 +15,7 @@ function c86442081.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c86442081.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
function
c86442081
.
filter
(
c
)
function
c86442081
.
filter
(
c
)
return
(
c
:
IsFacedown
()
or
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_WATER
)
)
and
c
:
IsDestructable
()
return
(
c
:
IsFacedown
()
or
c
:
GetAttribute
()
~=
ATTRIBUTE_WATER
)
and
c
:
IsDestructable
()
end
end
function
c86442081
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c86442081
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
script/c8696773.lua
View file @
76943c8e
...
@@ -29,7 +29,7 @@ function c8696773.tgvalue(e,re,rp)
...
@@ -29,7 +29,7 @@ function c8696773.tgvalue(e,re,rp)
return
rp
~=
e
:
GetHandlerPlayer
()
return
rp
~=
e
:
GetHandlerPlayer
()
end
end
function
c8696773
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c8696773
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_FIRE
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_FIRE
end
end
function
c8696773
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c8696773
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
r
==
REASON_XYZ
return
r
==
REASON_XYZ
...
...
script/c90846359.lua
View file @
76943c8e
...
@@ -53,7 +53,7 @@ function c90846359.sumlimit(e,c,sump,sumtype,sumpos,targetp)
...
@@ -53,7 +53,7 @@ function c90846359.sumlimit(e,c,sump,sumtype,sumpos,targetp)
local
rc
=
c90846359
[
sump
]
local
rc
=
c90846359
[
sump
]
if
targetp
then
rc
=
c90846359
[
targetp
]
end
if
targetp
then
rc
=
c90846359
[
targetp
]
end
if
rc
==
0
then
return
false
end
if
rc
==
0
then
return
false
end
return
c
:
IsRace
(
0xffffff
-
rc
)
return
c
:
GetRace
()
~=
rc
end
end
function
c90846359
.
getrace
(
g
)
function
c90846359
.
getrace
(
g
)
local
arc
=
0
local
arc
=
0
...
@@ -65,7 +65,7 @@ function c90846359.getrace(g)
...
@@ -65,7 +65,7 @@ function c90846359.getrace(g)
return
arc
return
arc
end
end
function
c90846359
.
rmfilter
(
c
,
rc
)
function
c90846359
.
rmfilter
(
c
,
rc
)
return
not
c
:
IsRace
(
0xffffff
-
rc
)
return
c
:
GetRace
()
==
rc
end
end
function
c90846359
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c90846359
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
phase
=
Duel
.
GetCurrentPhase
()
local
phase
=
Duel
.
GetCurrentPhase
()
...
...
script/c92729410.lua
View file @
76943c8e
...
@@ -27,7 +27,7 @@ function c92729410.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -27,7 +27,7 @@ function c92729410.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c92729410
.
splimit
(
e
,
c
)
function
c92729410
.
splimit
(
e
,
c
)
return
c
:
IsRace
(
0xffffff
-
RACE_BEAST
)
return
c
:
GetRace
()
~=
RACE_BEAST
end
end
function
c92729410
.
filter
(
c
,
e
,
tp
)
function
c92729410
.
filter
(
c
,
e
,
tp
)
return
c
:
GetCode
()
~=
92729410
and
c
:
GetLevel
()
==
2
and
c
:
IsRace
(
RACE_BEAST
)
return
c
:
GetCode
()
~=
92729410
and
c
:
GetLevel
()
==
2
and
c
:
IsRace
(
RACE_BEAST
)
...
...
script/c97584500.lua
View file @
76943c8e
...
@@ -34,7 +34,7 @@ function c97584500.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c97584500.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c97584500
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c97584500
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_DARK
)
return
c
:
GetAttribute
()
~=
ATTRIBUTE_DARK
end
end
function
c97584500
.
sfilter
(
c
)
function
c97584500
.
sfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x8d
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x8d
)
...
...
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