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
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
wyykak
ygopro
Commits
9d3ea8e6
Commit
9d3ea8e6
authored
Aug 09, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a2749c38
Changes
42
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
28 additions
and
53 deletions
+28
-53
script/c11868731.lua
script/c11868731.lua
+0
-1
script/c12324546.lua
script/c12324546.lua
+0
-1
script/c1264319.lua
script/c1264319.lua
+0
-1
script/c18096222.lua
script/c18096222.lua
+0
-1
script/c24150026.lua
script/c24150026.lua
+0
-1
script/c24731453.lua
script/c24731453.lua
+1
-1
script/c255998.lua
script/c255998.lua
+0
-1
script/c28423537.lua
script/c28423537.lua
+1
-1
script/c29095552.lua
script/c29095552.lua
+0
-1
script/c31480215.lua
script/c31480215.lua
+1
-1
script/c3395226.lua
script/c3395226.lua
+1
-1
script/c35629124.lua
script/c35629124.lua
+1
-2
script/c4064256.lua
script/c4064256.lua
+1
-1
script/c42155488.lua
script/c42155488.lua
+1
-1
script/c43202238.lua
script/c43202238.lua
+0
-1
script/c45500495.lua
script/c45500495.lua
+1
-1
script/c47687766.lua
script/c47687766.lua
+1
-1
script/c48252330.lua
script/c48252330.lua
+0
-1
script/c4904633.lua
script/c4904633.lua
+0
-1
script/c52404456.lua
script/c52404456.lua
+0
-1
script/c5817857.lua
script/c5817857.lua
+0
-1
script/c59281922.lua
script/c59281922.lua
+1
-1
script/c60946968.lua
script/c60946968.lua
+0
-1
script/c62624486.lua
script/c62624486.lua
+0
-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/c66331855.lua
script/c66331855.lua
+0
-1
script/c71175527.lua
script/c71175527.lua
+1
-1
script/c72537897.lua
script/c72537897.lua
+1
-1
script/c73652465.lua
script/c73652465.lua
+0
-1
script/c7452945.lua
script/c7452945.lua
+0
-1
script/c75105429.lua
script/c75105429.lua
+0
-1
script/c79068663.lua
script/c79068663.lua
+0
-1
script/c8522996.lua
script/c8522996.lua
+9
-9
script/c8696773.lua
script/c8696773.lua
+1
-1
script/c89662736.lua
script/c89662736.lua
+1
-3
script/c91499077.lua
script/c91499077.lua
+0
-1
script/c9161357.lua
script/c9161357.lua
+0
-1
script/c92729410.lua
script/c92729410.lua
+1
-1
script/c97452817.lua
script/c97452817.lua
+0
-1
script/c97584500.lua
script/c97584500.lua
+1
-1
No files found.
script/c11868731.lua
View file @
9d3ea8e6
...
@@ -51,4 +51,3 @@ function c11868731.shop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,4 +51,3 @@ function c11868731.shop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
end
script/c12324546.lua
View file @
9d3ea8e6
...
@@ -54,4 +54,3 @@ function c12324546.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,4 +54,3 @@ function c12324546.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Equip
(
tp
,
e
:
GetHandler
(),
tc
)
Duel
.
Equip
(
tp
,
e
:
GetHandler
(),
tc
)
end
end
end
end
script/c1264319.lua
View file @
9d3ea8e6
...
@@ -97,4 +97,3 @@ function c1264319.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -97,4 +97,3 @@ function c1264319.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
end
end
end
end
script/c18096222.lua
View file @
9d3ea8e6
...
@@ -84,4 +84,3 @@ function c18096222.daop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,4 +84,3 @@ function c18096222.daop(e,tp,eg,ep,ev,re,r,rp)
tc
:
EnableDualState
()
tc
:
EnableDualState
()
end
end
end
end
script/c24150026.lua
View file @
9d3ea8e6
...
@@ -53,4 +53,3 @@ function c24150026.bpop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,4 +53,3 @@ function c24150026.bpop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENCE
)
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENCE
)
end
end
end
end
script/c24731453.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsRace
(
0xffffff
-
RACE_MACHINE
)
end
end
function
c24731453
.
cfilter
(
c
)
function
c24731453
.
cfilter
(
c
)
return
c
:
GetSequence
()
<
5
return
c
:
GetSequence
()
<
5
...
...
script/c255998.lua
View file @
9d3ea8e6
...
@@ -40,4 +40,3 @@ function c255998.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,4 +40,3 @@ function c255998.operation(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
end
end
script/c28423537.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsRace
(
RACE_FIEND
)
return
c
:
IsRace
(
0xffffff
-
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/c29095552.lua
View file @
9d3ea8e6
...
@@ -43,4 +43,3 @@ function c29095552.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,4 +43,3 @@ function c29095552.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
script/c31480215.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
return
c
:
IsAttribute
(
0xff
-
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 @
9d3ea8e6
...
@@ -45,7 +45,7 @@ function c3395226.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -45,7 +45,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
not
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
return
c
:
IsAttribute
(
0xff
-
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 @
9d3ea8e6
...
@@ -65,7 +65,7 @@ function c35629124.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -65,7 +65,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
not
c
:
IsRace
(
RACE_DRAGON
)
return
c
:
IsRace
(
0xffffff
-
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
)
...
@@ -76,7 +76,6 @@ function c35629124.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -76,7 +76,6 @@ function c35629124.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
end
function
c35629124
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35629124
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c35629124
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c35629124
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
script/c4064256.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsRace
(
RACE_ZOMBIE
)
return
bit
.
band
(
sumtp
,
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
and
c
:
IsRace
(
0xffffff
-
RACE_ZOMBIE
)
end
end
script/c42155488.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsRace
(
e
:
GetLabel
())
return
c
:
IsRace
(
0xffffff
-
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/c43202238.lua
View file @
9d3ea8e6
...
@@ -59,7 +59,6 @@ function c43202238.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,6 @@ function c43202238.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
tg
,
REASON_EFFECT
)
Duel
.
Destroy
(
tg
,
REASON_EFFECT
)
end
end
end
end
function
c43202238
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c43202238
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousControler
()
==
tp
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousControler
()
==
tp
...
...
script/c45500495.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsRace
(
RACE_PLANT
)
return
c
:
IsRace
(
0xffffff
-
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/c47687766.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsRace
(
0xffffff
-
RACE_MACHINE
)
end
end
script/c48252330.lua
View file @
9d3ea8e6
...
@@ -56,4 +56,3 @@ function c48252330.shop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,4 +56,3 @@ function c48252330.shop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
end
script/c4904633.lua
View file @
9d3ea8e6
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
function
c4904633
.
initial_effect
(
c
)
function
c4904633
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
script/c52404456.lua
View file @
9d3ea8e6
...
@@ -57,4 +57,3 @@ function c52404456.shop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,4 +57,3 @@ function c52404456.shop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
end
script/c5817857.lua
View file @
9d3ea8e6
...
@@ -69,4 +69,3 @@ function c5817857.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,4 +69,3 @@ function c5817857.desop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c5817857
.
rfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c5817857
.
rfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
script/c59281922.lua
View file @
9d3ea8e6
...
@@ -60,7 +60,7 @@ function c59281922.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -60,7 +60,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
not
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsRace
(
0xffffff
-
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/c60946968.lua
View file @
9d3ea8e6
...
@@ -31,4 +31,3 @@ function c60946968.adval(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,4 +31,3 @@ function c60946968.adval(e,tp,eg,ep,ev,re,r,rp)
if
a
:
IsControler
(
1
-
tp
)
and
d
:
IsSetCard
(
0xc
)
then
c60946968
.
addown
(
a
,
e
)
end
if
a
:
IsControler
(
1
-
tp
)
and
d
:
IsSetCard
(
0xc
)
then
c60946968
.
addown
(
a
,
e
)
end
if
d
:
IsControler
(
1
-
tp
)
and
a
:
IsSetCard
(
0xc
)
then
c60946968
.
addown
(
d
,
e
)
end
if
d
:
IsControler
(
1
-
tp
)
and
a
:
IsSetCard
(
0xc
)
then
c60946968
.
addown
(
d
,
e
)
end
end
end
script/c62624486.lua
View file @
9d3ea8e6
...
@@ -41,4 +41,3 @@ function c62624486.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,4 +41,3 @@ function c62624486.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
script/c63193879.lua
View file @
9d3ea8e6
...
@@ -52,7 +52,7 @@ function c63193879.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -52,7 +52,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
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
return
c
:
IsAttribute
(
0xff
-
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 @
9d3ea8e6
...
@@ -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
not
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsRace
(
0xffffff
-
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 @
9d3ea8e6
...
@@ -45,7 +45,7 @@ function c64319467.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -45,7 +45,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
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
return
c
:
IsAttribute
(
0xff
-
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/c66331855.lua
View file @
9d3ea8e6
...
@@ -53,4 +53,3 @@ function c66331855.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,4 +53,3 @@ function c66331855.op(e,tp,eg,ep,ev,re,r,rp)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
end
end
script/c71175527.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
return
c
:
IsAttribute
(
0xff
-
ATTRIBUTE_WIND
)
end
end
script/c72537897.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsRace
(
RACE_BEAST
)
return
c
:
IsRace
(
0xffffff
-
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/c73652465.lua
View file @
9d3ea8e6
...
@@ -45,4 +45,3 @@ function c73652465.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,4 +45,3 @@ function c73652465.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_DEFENCE
,
POS_FACEDOWN_DEFENCE
,
POS_FACEUP_ATTACK
,
POS_FACEUP_ATTACK
)
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_DEFENCE
,
POS_FACEDOWN_DEFENCE
,
POS_FACEUP_ATTACK
,
POS_FACEUP_ATTACK
)
end
end
end
end
script/c7452945.lua
View file @
9d3ea8e6
...
@@ -75,4 +75,3 @@ function c7452945.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -75,4 +75,3 @@ function c7452945.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SelectTarget
(
tp
,
c7452945
.
eqfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c7452945
.
eqfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
script/c75105429.lua
View file @
9d3ea8e6
...
@@ -28,4 +28,3 @@ function c75105429.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -28,4 +28,3 @@ function c75105429.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
1
-
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
1
-
tp
,
1
,
REASON_EFFECT
)
end
end
end
end
script/c79068663.lua
View file @
9d3ea8e6
...
@@ -62,4 +62,3 @@ function c79068663.damop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,4 +62,3 @@ function c79068663.damop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
p
,
dam
,
REASON_EFFECT
)
Duel
.
Damage
(
p
,
dam
,
REASON_EFFECT
)
end
end
end
end
script/c8522996.lua
View file @
9d3ea8e6
...
@@ -14,10 +14,10 @@ function c8522996.initial_effect(c)
...
@@ -14,10 +14,10 @@ function c8522996.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCondition
(
c8522996
.
con
)
e2
:
SetCondition
(
c8522996
.
c
hc
on
)
e2
:
SetCost
(
c8522996
.
cost
)
e2
:
SetCost
(
c8522996
.
c
hc
ost
)
e2
:
SetTarget
(
c8522996
.
tg
)
e2
:
SetTarget
(
c8522996
.
ch
tg
)
e2
:
SetOperation
(
c8522996
.
op
)
e2
:
SetOperation
(
c8522996
.
ch
op
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--sum limit
--sum limit
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -43,20 +43,20 @@ function c8522996.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,20 +43,20 @@ function c8522996.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
1
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
TrapMonsterBlock
()
c
:
TrapMonsterBlock
()
end
end
function
c8522996
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c8522996
.
c
hc
on
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
end
end
function
c8522996
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c8522996
.
c
hc
ost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c8522996
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c8522996
.
ch
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
0
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
0
)
local
aat
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0x7f
)
local
aat
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0x7f
)
e
:
SetLabel
(
aat
)
e
:
SetLabel
(
aat
)
end
end
function
c8522996
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c8522996
.
ch
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
att
=
e
:
GetLabel
()
local
att
=
e
:
GetLabel
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -78,5 +78,5 @@ function c8522996.condition(e,c)
...
@@ -78,5 +78,5 @@ function c8522996.condition(e,c)
return
c
:
IsAttribute
(
e
:
GetHandler
():
GetAttribute
())
return
c
:
IsAttribute
(
e
:
GetHandler
():
GetAttribute
())
end
end
function
c8522996
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
function
c8522996
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
not
c8522996
.
condition
(
e
,
c
)
return
c
:
IsAttribute
(
0xff
-
e
:
GetHandler
():
GetAttribute
()
)
end
end
script/c8696773.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
return
c
:
IsAttribute
(
0xff
-
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/c89662736.lua
View file @
9d3ea8e6
...
@@ -5,7 +5,6 @@ function c89662736.initial_effect(c)
...
@@ -5,7 +5,6 @@ function c89662736.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
89662736
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
89662736
,
0
))
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_QUICK_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e1
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
89662736
)
e1
:
SetCountLimit
(
1
,
89662736
)
...
@@ -23,8 +22,7 @@ function c89662736.nacost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -23,8 +22,7 @@ function c89662736.nacost(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
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c89662736
.
natg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c89662736
.
natg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
GetAttacker
():
IsOnField
()
end
if
chk
==
0
then
return
Duel
.
GetAttacker
():
IsOnField
()
end
local
dam
=
Duel
.
GetAttacker
():
GetAttack
()
/
2
local
dam
=
Duel
.
GetAttacker
():
GetAttack
()
/
2
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
dam
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
dam
)
...
...
script/c91499077.lua
View file @
9d3ea8e6
...
@@ -49,7 +49,6 @@ function c91499077.atop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,6 @@ function c91499077.atop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
function
c91499077
.
cbcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c91499077
.
cbcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
bt
=
eg
:
GetFirst
()
local
bt
=
eg
:
GetFirst
()
return
r
~=
REASON_REPLACE
and
bt
~=
e
:
GetHandler
()
and
bt
:
IsControler
(
tp
)
return
r
~=
REASON_REPLACE
and
bt
~=
e
:
GetHandler
()
and
bt
:
IsControler
(
tp
)
...
...
script/c9161357.lua
View file @
9d3ea8e6
...
@@ -88,4 +88,3 @@ end
...
@@ -88,4 +88,3 @@ end
function
c9161357
.
lpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c9161357
.
lpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SetLP
(
1
-
tp
,
Duel
.
GetLP
(
1
-
tp
)
/
2
)
Duel
.
SetLP
(
1
-
tp
,
Duel
.
GetLP
(
1
-
tp
)
/
2
)
end
end
script/c92729410.lua
View file @
9d3ea8e6
...
@@ -49,7 +49,7 @@ function c92729410.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -49,7 +49,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
not
c
:
IsRace
(
RACE_BEAST
)
return
c
:
IsRace
(
0xffffff
-
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/c97452817.lua
View file @
9d3ea8e6
...
@@ -92,4 +92,3 @@ function c97452817.ctop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,4 +92,3 @@ function c97452817.ctop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
script/c97584500.lua
View file @
9d3ea8e6
...
@@ -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
not
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
IsAttribute
(
0xff
-
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