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
YGOPRO-520DIY
ygopro
Commits
cb4262e4
Commit
cb4262e4
authored
Jul 15, 2012
by
Fluorohydride
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #146 from VanillaSalt/patch08
fix script
parents
8ecef405
c8882e2d
Changes
120
Hide whitespace changes
Inline
Side-by-side
Showing
120 changed files
with
194 additions
and
175 deletions
+194
-175
script/c11159464.lua
script/c11159464.lua
+1
-1
script/c12423762.lua
script/c12423762.lua
+1
-1
script/c13002461.lua
script/c13002461.lua
+3
-3
script/c13250922.lua
script/c13250922.lua
+1
-1
script/c135598.lua
script/c135598.lua
+0
-1
script/c13945283.lua
script/c13945283.lua
+1
-1
script/c13955608.lua
script/c13955608.lua
+3
-3
script/c14154221.lua
script/c14154221.lua
+2
-2
script/c16197610.lua
script/c16197610.lua
+2
-2
script/c16550875.lua
script/c16550875.lua
+3
-0
script/c16796157.lua
script/c16796157.lua
+0
-1
script/c16825874.lua
script/c16825874.lua
+1
-1
script/c16828633.lua
script/c16828633.lua
+1
-1
script/c17985575.lua
script/c17985575.lua
+1
-1
script/c18060565.lua
script/c18060565.lua
+1
-1
script/c18096222.lua
script/c18096222.lua
+1
-1
script/c18158397.lua
script/c18158397.lua
+1
-1
script/c20188127.lua
script/c20188127.lua
+1
-1
script/c20529766.lua
script/c20529766.lua
+1
-0
script/c20858318.lua
script/c20858318.lua
+1
-1
script/c21977828.lua
script/c21977828.lua
+1
-1
script/c27340877.lua
script/c27340877.lua
+3
-3
script/c27655513.lua
script/c27655513.lua
+4
-6
script/c27821104.lua
script/c27821104.lua
+2
-2
script/c27970830.lua
script/c27970830.lua
+5
-5
script/c30126992.lua
script/c30126992.lua
+1
-1
script/c31000575.lua
script/c31000575.lua
+1
-1
script/c31328739.lua
script/c31328739.lua
+1
-2
script/c31826057.lua
script/c31826057.lua
+4
-1
script/c3366982.lua
script/c3366982.lua
+4
-1
script/c33970665.lua
script/c33970665.lua
+1
-1
script/c34149830.lua
script/c34149830.lua
+1
-1
script/c35149085.lua
script/c35149085.lua
+1
-1
script/c35798491.lua
script/c35798491.lua
+1
-1
script/c36870345.lua
script/c36870345.lua
+1
-1
script/c38742075.lua
script/c38742075.lua
+1
-1
script/c40189917.lua
script/c40189917.lua
+1
-1
script/c4081825.lua
script/c4081825.lua
+1
-1
script/c42280216.lua
script/c42280216.lua
+1
-3
script/c44505297.lua
script/c44505297.lua
+1
-1
script/c44635489.lua
script/c44635489.lua
+2
-2
script/c44689688.lua
script/c44689688.lua
+2
-2
script/c44792253.lua
script/c44792253.lua
+1
-1
script/c45439263.lua
script/c45439263.lua
+1
-1
script/c46384403.lua
script/c46384403.lua
+1
-1
script/c4722253.lua
script/c4722253.lua
+1
-1
script/c47436247.lua
script/c47436247.lua
+2
-2
script/c50263751.lua
script/c50263751.lua
+1
-0
script/c5128859.lua
script/c5128859.lua
+1
-1
script/c53162898.lua
script/c53162898.lua
+1
-1
script/c54326448.lua
script/c54326448.lua
+2
-2
script/c56840658.lua
script/c56840658.lua
+1
-1
script/c57421866.lua
script/c57421866.lua
+1
-1
script/c57774843.lua
script/c57774843.lua
+1
-1
script/c58851034.lua
script/c58851034.lua
+1
-1
script/c5973663.lua
script/c5973663.lua
+5
-5
script/c6007213.lua
script/c6007213.lua
+1
-1
script/c60534585.lua
script/c60534585.lua
+1
-1
script/c61011311.lua
script/c61011311.lua
+1
-1
script/c6276588.lua
script/c6276588.lua
+1
-1
script/c63519819.lua
script/c63519819.lua
+2
-2
script/c64034255.lua
script/c64034255.lua
+1
-1
script/c64047146.lua
script/c64047146.lua
+3
-3
script/c64268668.lua
script/c64268668.lua
+2
-2
script/c64631466.lua
script/c64631466.lua
+2
-2
script/c65079854.lua
script/c65079854.lua
+1
-1
script/c65810489.lua
script/c65810489.lua
+1
-0
script/c66625883.lua
script/c66625883.lua
+1
-1
script/c66661678.lua
script/c66661678.lua
+1
-1
script/c67038874.lua
script/c67038874.lua
+1
-1
script/c67300516.lua
script/c67300516.lua
+3
-3
script/c67464807.lua
script/c67464807.lua
+1
-1
script/c67630339.lua
script/c67630339.lua
+2
-2
script/c68191243.lua
script/c68191243.lua
+1
-1
script/c71645242.lua
script/c71645242.lua
+3
-3
script/c72709014.lua
script/c72709014.lua
+1
-1
script/c74848038.lua
script/c74848038.lua
+1
-1
script/c75433814.lua
script/c75433814.lua
+1
-1
script/c76384284.lua
script/c76384284.lua
+2
-2
script/c77864539.lua
script/c77864539.lua
+1
-1
script/c78613627.lua
script/c78613627.lua
+1
-1
script/c79205581.lua
script/c79205581.lua
+4
-4
script/c79229522.lua
script/c79229522.lua
+1
-1
script/c80651316.lua
script/c80651316.lua
+2
-2
script/c81122844.lua
script/c81122844.lua
+2
-2
script/c81336148.lua
script/c81336148.lua
+1
-1
script/c81661951.lua
script/c81661951.lua
+1
-1
script/c81846636.lua
script/c81846636.lua
+2
-2
script/c81866673.lua
script/c81866673.lua
+1
-1
script/c82670878.lua
script/c82670878.lua
+3
-3
script/c82994509.lua
script/c82994509.lua
+1
-1
script/c83370323.lua
script/c83370323.lua
+1
-1
script/c83555666.lua
script/c83555666.lua
+2
-2
script/c83555667.lua
script/c83555667.lua
+2
-2
script/c85028288.lua
script/c85028288.lua
+1
-1
script/c85066822.lua
script/c85066822.lua
+2
-1
script/c85352446.lua
script/c85352446.lua
+1
-1
script/c85431040.lua
script/c85431040.lua
+1
-1
script/c85475641.lua
script/c85475641.lua
+9
-6
script/c86170989.lua
script/c86170989.lua
+2
-2
script/c87319876.lua
script/c87319876.lua
+1
-1
script/c88559132.lua
script/c88559132.lua
+1
-0
script/c88958576.lua
script/c88958576.lua
+1
-1
script/c89235196.lua
script/c89235196.lua
+5
-4
script/c91580102.lua
script/c91580102.lua
+1
-1
script/c92065772.lua
script/c92065772.lua
+1
-1
script/c92933195.lua
script/c92933195.lua
+2
-2
script/c94331452.lua
script/c94331452.lua
+4
-1
script/c95194279.lua
script/c95194279.lua
+1
-1
script/c95526884.lua
script/c95526884.lua
+1
-1
script/c95637655.lua
script/c95637655.lua
+1
-0
script/c95750695.lua
script/c95750695.lua
+3
-3
script/c97151365.lua
script/c97151365.lua
+1
-1
script/c9780364.lua
script/c9780364.lua
+1
-1
script/c97922283.lua
script/c97922283.lua
+1
-1
script/c97970833.lua
script/c97970833.lua
+1
-1
script/c98336111.lua
script/c98336111.lua
+1
-1
script/c98558751.lua
script/c98558751.lua
+1
-1
script/c99214782.lua
script/c99214782.lua
+4
-0
strings.conf
strings.conf
+1
-1
No files found.
script/c11159464.lua
View file @
cb4262e4
...
...
@@ -9,7 +9,7 @@ function c11159464.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--discard
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
56074358
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
11159464
,
0
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCondition
(
c11159464
.
tgcon
)
...
...
script/c12423762.lua
View file @
cb4262e4
...
...
@@ -16,7 +16,7 @@ function c12423762.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
12423762
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e2
:
Set
Targe
t
(
c12423762
.
indcost
)
e2
:
Set
Cos
t
(
c12423762
.
indcost
)
e2
:
SetOperation
(
c12423762
.
indop
)
c
:
RegisterEffect
(
e2
)
end
...
...
script/c13002461.lua
View file @
cb4262e4
...
...
@@ -26,10 +26,10 @@ function c13002461.filter(c)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsLevelAbove
(
1
)
end
function
c13002461
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
hkc
:
IsControler
(
tp
)
and
c
13002461
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c13002461
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c13002461
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c13002461
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c13002461
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c13002461
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
end
function
c13002461
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c13250922.lua
View file @
cb4262e4
...
...
@@ -18,7 +18,7 @@ function c13250922.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
83021423
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
13250922
,
0
))
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
script/c135598.lua
View file @
cb4262e4
...
...
@@ -22,7 +22,6 @@ function c135598.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c135598
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c135598
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
script/c13945283.lua
View file @
cb4262e4
...
...
@@ -21,5 +21,5 @@ end
function
c13945283
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
if
not
a
:
IsRelateToBattle
()
then
return
end
Duel
.
SendtoHand
(
a
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
a
,
nil
,
REASON_EFFECT
)
end
script/c13955608.lua
View file @
cb4262e4
...
...
@@ -11,15 +11,15 @@ function c13955608.initial_effect(c)
end
function
c13955608
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13955608
,
0
,
0x21
,
0
,
2000
,
4
,
RACE_
ROCK
,
ATTRIBUTE_EARTH
)
end
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13955608
,
0
,
0x21
,
0
,
2000
,
4
,
RACE_
MACHINE
,
ATTRIBUTE_EARTH
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c13955608
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13955608
,
0
,
0x21
,
0
,
2000
,
4
,
RACE_
ROCK
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddTrapMonsterAttribute
(
true
,
ATTRIBUTE_EARTH
,
RACE_
ROCK
,
4
,
0
,
2000
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13955608
,
0
,
0x21
,
0
,
2000
,
4
,
RACE_
MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
c
:
AddTrapMonsterAttribute
(
true
,
ATTRIBUTE_EARTH
,
RACE_
MACHINE
,
4
,
0
,
2000
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENCE
)
c
:
TrapMonsterBlock
()
--cannot attack
...
...
script/c14154221.lua
View file @
cb4262e4
...
...
@@ -29,10 +29,10 @@ end
function
c14154221
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsDestructable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_CHAINING
)
and
Duel
.
IsExisting
MatchingCard
(
Card
.
IsDestructable
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
and
Duel
.
IsExisting
Target
(
Card
.
IsDestructable
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsDestructable
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_
TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_
DESTROY
,
g
,
1
,
0
,
0
)
end
function
c14154221
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
...
...
script/c16197610.lua
View file @
cb4262e4
...
...
@@ -52,12 +52,12 @@ function c16197610.spfilter(c,e,tp)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
function
c16197610
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
~=
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c16197610
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
end
function
c16197610
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
=
=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c16197610
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
~=
0
then
...
...
script/c16550875.lua
View file @
cb4262e4
...
...
@@ -15,6 +15,9 @@ function c16550875.initial_effect(c)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetValue
(
800
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_UPDATE_DEFENCE
)
c
:
RegisterEffect
(
e3
)
--Equip limit
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c16796157.lua
View file @
cb4262e4
...
...
@@ -23,7 +23,6 @@ function c16796157.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_DECK
)
end
function
c16796157
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c16796157
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
script/c16825874.lua
View file @
cb4262e4
...
...
@@ -14,7 +14,7 @@ function c16825874.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BE_MATERIAL
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
Set
Target
(
c16825874
.
ccon
)
e2
:
Set
Condition
(
c16825874
.
ccon
)
e2
:
SetOperation
(
c16825874
.
cop
)
c
:
RegisterEffect
(
e2
)
end
...
...
script/c16828633.lua
View file @
cb4262e4
...
...
@@ -6,7 +6,7 @@ function c16828633.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCo
st
(
c16828633
.
condition
)
e1
:
SetCo
ndition
(
c16828633
.
condition
)
e1
:
SetOperation
(
c16828633
.
operation
)
c
:
RegisterEffect
(
e1
)
end
...
...
script/c17985575.lua
View file @
cb4262e4
...
...
@@ -4,8 +4,8 @@ function c17985575.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTarget
(
c17985575
.
etarget
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c18060565.lua
View file @
cb4262e4
...
...
@@ -35,7 +35,7 @@ function c18060565.eqop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
eq
=
Duel
.
SelectMatchingCard
(
tp
,
c18060565
.
eqfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
eqc
=
eq
:
GetFirst
()
if
eqc
and
Duel
.
Equip
(
tp
,
eqc
,
tc
,
fals
e
)
then
if
eqc
and
Duel
.
Equip
(
tp
,
eqc
,
tc
,
tru
e
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
...
...
script/c18096222.lua
View file @
cb4262e4
...
...
@@ -69,7 +69,7 @@ function c18096222.dafilter(c)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_DUAL
)
and
not
c
:
IsDualState
()
end
function
c18096222
.
datg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
.
IsLocation
(
LOCATION_MZONE
)
and
c18096222
.
dafilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c18096222
.
dafilter
(
chkc
)
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
SelectTarget
(
tp
,
c18096222
.
dafilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
...
...
script/c18158397.lua
View file @
cb4262e4
...
...
@@ -17,7 +17,7 @@ function c18158397.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c18158397
.
cfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
GetPreviousControler
(
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
GetPreviousControler
(
)
==
tp
end
function
c18158397
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
0x41
)
==
0x41
and
re
and
re
:
GetHandler
():
IsSetCard
(
0x18
)
...
...
script/c20188127.lua
View file @
cb4262e4
...
...
@@ -23,7 +23,7 @@ end
function
c20188127
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c20529766.lua
View file @
cb4262e4
...
...
@@ -4,6 +4,7 @@ function c20529766.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCondition
(
c20529766
.
condition
)
e1
:
SetOperation
(
c20529766
.
operation
)
c
:
RegisterEffect
(
e1
)
--tribute check
...
...
script/c20858318.lua
View file @
cb4262e4
...
...
@@ -4,7 +4,7 @@ function c20858318.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCo
st
(
c20858318
.
con
)
e1
:
SetCo
ndition
(
c20858318
.
con
)
e1
:
SetOperation
(
c20858318
.
op
)
c
:
RegisterEffect
(
e1
)
end
...
...
script/c21977828.lua
View file @
cb4262e4
...
...
@@ -67,7 +67,7 @@ function c21977828.spfilter(c,e,tp)
return
c
:
IsSetCard
(
0x56
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c21977828
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c21977828
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c21977828
.
sp
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
21977828
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c21977828
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c27340877.lua
View file @
cb4262e4
...
...
@@ -18,15 +18,15 @@ function c27340877.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c27340877
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEDOWN
)
Duel
.
SelectTarget
(
tp
,
c27340877
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
56
3
)
local
rc
=
Duel
.
Announce
Rac
e
(
1
-
tp
,
2
,
0xffffff
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
56
2
)
local
rc
=
Duel
.
Announce
Attribut
e
(
1
-
tp
,
2
,
0xffffff
)
e
:
SetLabel
(
rc
)
end
function
c27340877
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
tc
:
Is
Rac
e
(
e
:
GetLabel
())
then
if
tc
:
Is
Attribut
e
(
e
:
GetLabel
())
then
Duel
.
Draw
(
1
-
tp
,
2
,
REASON_EFFECT
)
else
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
...
...
script/c27655513.lua
View file @
cb4262e4
...
...
@@ -18,13 +18,11 @@ function c27655513.filter(c)
return
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsAbleToGrave
()
end
function
c27655513
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c27655513
.
filter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_
SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_
TOGRAVE
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
function
c27655513
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c27655513
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
g
:
GetCount
()
<
2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
tp
,
2
,
2
,
nil
)
Duel
.
SendtoGrave
(
s
g
,
REASON_EFFECT
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c27655513
.
filter
,
tp
,
LOCATION_DECK
,
0
,
2
,
2
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
script/c27821104.lua
View file @
cb4262e4
...
...
@@ -19,14 +19,14 @@ function c27821104.filter(c,e,tp)
end
function
c27821104
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c27821104
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c27821104
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c27821104
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c27821104
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
=
=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsFacedown
()
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c27970830.lua
View file @
cb4262e4
...
...
@@ -66,8 +66,8 @@ function c27970830.filter1(c)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x3d
)
or
c
:
IsSetCard
(
0x20
))
and
c
:
IsType
(
TYPE_EFFECT
)
end
function
c27970830
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetLocation
()
==
LOCATION_MZONE
and
c27970830
.
filter1
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExisting
MatchingCard
(
c27970830
.
filter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c27970830
.
filter1
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExisting
Target
(
c27970830
.
filter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c27970830
.
filter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ATKCHANGE
,
g
,
1
,
0
,
500
)
...
...
@@ -114,8 +114,8 @@ function c27970830.filter3(c,e,tp)
return
c
:
IsSetCard
(
0x20
)
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c27970830
.
tg3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
c27970830
.
filter3
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c27970830
.
filter3
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c27970830
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c27970830
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
@@ -123,7 +123,7 @@ function c27970830.tg3(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c27970830
.
op3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
=
=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
script/c30126992.lua
View file @
cb4262e4
...
...
@@ -24,7 +24,7 @@ function c30126992.initial_effect(c)
end
function
c30126992
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
=
=
0
then
return
false
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
<
=
0
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAttribute
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_LIGHT
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
return
ct
>
4
...
...
script/c31000575.lua
View file @
cb4262e4
...
...
@@ -5,7 +5,7 @@ function c31000575.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
Set
Cos
t
(
c31000575
.
target
)
e1
:
Set
Targe
t
(
c31000575
.
target
)
e1
:
SetOperation
(
c31000575
.
operation
)
c
:
RegisterEffect
(
e1
)
end
...
...
script/c31328739.lua
View file @
cb4262e4
...
...
@@ -18,13 +18,12 @@ function c31328739.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c31328739
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
and
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
3
)
end
local
ht
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
Duel
.
SetTargetPlayer
(
1
-
tp
)
end
function
c31328739
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
g
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_HAND
,
0
)
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
==
0
then
return
end
if
g
:
GetCount
(
)
==
0
then
return
end
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
ShuffleDeck
(
p
)
Duel
.
BreakEffect
()
...
...
script/c31826057.lua
View file @
cb4262e4
...
...
@@ -31,7 +31,10 @@ function c31826057.target1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c31826057
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c31826057
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c31826057
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c31826057
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
563
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
0xffffff
)
e
:
SetLabel
(
rc
)
end
function
c31826057
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c31826057
.
filter
(
chkc
)
end
...
...
script/c3366982.lua
View file @
cb4262e4
...
...
@@ -12,6 +12,9 @@ function c3366982.initial_effect(c)
end
c3366982
.
material_count
=
2
c3366982
.
material
=
{
88819587
,
64428736
}
function
c3366982
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
0xf8
)
end
function
c3366982
.
dircon
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
c3366982
.
filter
,
e
:
GetHandler
():
GetControl
er
(),
0
,
LOCATION_MZONE
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
c3366982
.
filter
,
e
:
GetHandler
Play
er
(),
0
,
LOCATION_MZONE
,
1
,
nil
)
end
script/c33970665.lua
View file @
cb4262e4
...
...
@@ -25,7 +25,7 @@ end
function
c33970665
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft2
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
if
g
:
GetCount
()
==
0
or
(
ft1
==
0
and
ft2
==
0
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
):
GetFirst
()
...
...
script/c34149830.lua
View file @
cb4262e4
...
...
@@ -12,7 +12,7 @@ function c34149830.initial_effect(c)
e2
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCondition
(
c34149830
.
condition
)
e2
:
Set
Cos
t
(
c34149830
.
target
)
e2
:
Set
Targe
t
(
c34149830
.
target
)
e2
:
SetOperation
(
c34149830
.
operation
)
c
:
RegisterEffect
(
e2
)
end
...
...
script/c35149085.lua
View file @
cb4262e4
...
...
@@ -16,7 +16,7 @@ function c35149085.filter(c)
end
function
c35149085
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c35149085
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c35149085
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c35149085
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
...
...
script/c35798491.lua
View file @
cb4262e4
...
...
@@ -26,7 +26,7 @@ function c35798491.mtop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c35798491
.
filter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
c
:
IsSetCard
()
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x45
)
end
function
c35798491
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
ep
==
tp
then
return
end
...
...
script/c36870345.lua
View file @
cb4262e4
...
...
@@ -59,7 +59,7 @@ function c36870345.descon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
GetPreviousLocation
()
==
LOCATION_SZONE
and
not
c
:
IsReason
(
REASON_LOST_TARGET
)
end
function
c36870345
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
.
IsOnField
()
and
chkc
:
IsDestructable
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsDestructable
()
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsDestructable
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
...
...
script/c38742075.lua
View file @
cb4262e4
...
...
@@ -25,7 +25,7 @@ function c38742075.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c38742075
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsControler
(
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
function
c38742075
.
distg
(
e
,
c
)
return
c
:
GetCardTargetCount
()
>
0
and
c
:
IsType
(
TYPE_SPELL
)
...
...
script/c40189917.lua
View file @
cb4262e4
...
...
@@ -32,7 +32,7 @@ end
function
c40189917
.
sumcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
g
=
Duel
.
GetTributeGroup
(
c
)
return
c
:
GetLevel
()
>
6
and
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x2c
)
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
1
and
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x2c
)
end
function
c40189917
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetTributeGroup
(
c
)
...
...
script/c4081825.lua
View file @
cb4262e4
...
...
@@ -21,7 +21,7 @@ function c4081825.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsDefencePos
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
Duel
.
ChangePosition
(
g
,
POS_FACEUP_ATTACK
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
=
=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c4081825
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
sg
:
GetFirst
()
...
...
script/c42280216.lua
View file @
cb4262e4
...
...
@@ -34,12 +34,10 @@ function c42280216.filter(c,e,tp)
return
(
code
==
78275321
or
code
==
78552773
)
and
c
:
IsAbleToHand
()
end
function
c42280216
.
shtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c42280216
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c42280216
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c42280216
.
shop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c42280216
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
script/c44505297.lua
View file @
cb4262e4
...
...
@@ -10,7 +10,7 @@ function c44505297.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
Set
Target
(
c44505297
.
eqcon
)
e1
:
Set
Condition
(
c44505297
.
eqcon
)
e1
:
SetTarget
(
c44505297
.
eqtg
)
e1
:
SetOperation
(
c44505297
.
eqop
)
c
:
RegisterEffect
(
e1
)
...
...
script/c44635489.lua
View file @
cb4262e4
...
...
@@ -15,7 +15,7 @@ function c44635489.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
Set
Cos
t
(
c44635489
.
lvtg
)
e2
:
Set
Targe
t
(
c44635489
.
lvtg
)
e2
:
SetOperation
(
c44635489
.
lvop
)
c
:
RegisterEffect
(
e2
)
--xyzlimit
...
...
@@ -38,7 +38,7 @@ function c44635489.filter(c,clv)
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
())
or
c
:
IsLocation
(
LOCATION_GRAVE
))
end
function
c44635489
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
c44635489
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
c44635489
.
filter
(
chkc
,
e
:
GetHandler
():
GetLevel
()
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c44635489
.
filter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
(),
e
:
GetHandler
():
GetLevel
())
end
Duel
.
SelectTarget
(
tp
,
c44635489
.
filter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
e
:
GetHandler
(),
e
:
GetHandler
():
GetLevel
())
end
...
...
script/c44689688.lua
View file @
cb4262e4
...
...
@@ -19,11 +19,11 @@ function c44689688.spcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c44689688
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
end
function
c44689688
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
=
=
0
then
return
end
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
<
=
0
then
return
end
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
44689689
,
0
,
0x4011
,
300
,
0
,
1
,
RACE_DINOSAUR
,
ATTRIBUTE_FIRE
,
POS_FACEUP_ATTACK
,
1
-
tp
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
44689689
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
...
...
script/c44792253.lua
View file @
cb4262e4
...
...
@@ -7,7 +7,7 @@ function c44792253.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_REMOVE
)
e1
:
SetCondition
(
c44792253
.
descon
)
e1
:
Set
Cos
t
(
c44792253
.
destg
)
e1
:
Set
Targe
t
(
c44792253
.
destg
)
e1
:
SetOperation
(
c44792253
.
desop
)
c
:
RegisterEffect
(
e1
)
end
...
...
script/c45439263.lua
View file @
cb4262e4
...
...
@@ -11,6 +11,6 @@ function c45439263.initial_effect(c)
end
function
c45439263
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
=
=
0
then
return
false
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
<
=
0
then
return
false
end
return
Duel
.
GetMatchingGroup
(
Card
.
IsSetCard
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
0x39
):
GetClassCount
(
Card
.
GetCode
)
>=
3
end
script/c46384403.lua
View file @
cb4262e4
...
...
@@ -20,7 +20,7 @@ function c46384403.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c46384403
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
46384403
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN
)
return
c
:
IsCode
(
46384403
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c46384403
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
script/c4722253.lua
View file @
cb4262e4
...
...
@@ -32,7 +32,7 @@ function c4722253.initial_effect(c)
end
function
c4722253
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
=
=
0
then
return
false
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
<
=
0
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAttribute
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
ATTRIBUTE_LIGHT
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
return
ct
>
4
...
...
script/c47436247.lua
View file @
cb4262e4
...
...
@@ -46,12 +46,12 @@ function c47436247.filter(c,ct,e,tp)
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c47436247
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c47436247
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetCounter
(
0x3003
),
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c47436247
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
=
=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
=
0
then
return
end
local
ct
=
e
:
GetLabel
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c47436247
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
ct
,
e
,
tp
)
...
...
script/c50263751.lua
View file @
cb4262e4
...
...
@@ -15,6 +15,7 @@ function c50263751.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e2
:
SetCondition
(
c50263751
.
condition
)
e2
:
SetOperation
(
c50263751
.
operation
)
c
:
RegisterEffect
(
e2
)
end
...
...
script/c5128859.lua
View file @
cb4262e4
...
...
@@ -68,7 +68,7 @@ function c5128859.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
g
=
Group
.
CreateGroup
()
local
tc
=
nil
for
i
=
1
,
2
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
TODECK
)
if
ft
<=
0
then
tc
=
g1
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
1
,
1
,
nil
,
LOCATION_MZONE
):
GetFirst
()
else
...
...
script/c53162898.lua
View file @
cb4262e4
...
...
@@ -8,7 +8,7 @@ function c53162898.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_DAMAGE_STEP_END
)
e1
:
SetCondition
(
c53162898
.
condition
)
e1
:
Set
Cos
t
(
c53162898
.
target
)
e1
:
Set
Targe
t
(
c53162898
.
target
)
e1
:
SetOperation
(
c53162898
.
operation
)
c
:
RegisterEffect
(
e1
)
end
...
...
script/c54326448.lua
View file @
cb4262e4
...
...
@@ -19,8 +19,8 @@ function c54326448.filter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x2c
)
end
function
c54326448
.
attg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c54326448
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
Select
MatchingCard
(
tp
,
c54326448
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c54326448
.
cfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
Select
ReleaseGroup
(
tp
,
c54326448
.
cfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c54326448
.
atop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c56840658.lua
View file @
cb4262e4
...
...
@@ -20,7 +20,7 @@ function c56840658.condition(e,tp,eg,ep,ev,re,r,rp)
else
return
bit
.
band
(
c
:
GetPreviousPosition
(),
POS_FACEUP
)
~=
0
end
end
function
c56840658
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
...
...
script/c57421866.lua
View file @
cb4262e4
...
...
@@ -23,7 +23,7 @@ function c57421866.filter(c)
return
c
:
IsFaceup
()
and
c
:
GetLevel
()
>=
5
end
function
c57421866
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c
hkc
:
GetLevel
()
>=
5
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c
57421866
.
filter
(
chkc
)
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c57421866
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
...
...
script/c57774843.lua
View file @
cb4262e4
...
...
@@ -45,7 +45,7 @@ function c57774843.spfilter(c)
end
function
c57774843
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
=
=
0
then
return
false
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
<
=
0
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
c57774843
.
spfilter
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
return
ct
>
3
...
...
script/c58851034.lua
View file @
cb4262e4
...
...
@@ -15,7 +15,7 @@ function c58851034.condition(e,tp,eg,ep,ev,re,r,rp)
return
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c58851034
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
Is
AbleToGraveAsCost
()
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
Is
Discardable
()
end
function
c58851034
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c58851034
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
script/c5973663.lua
View file @
cb4262e4
...
...
@@ -66,8 +66,8 @@ function c5973663.filter1(c)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PLANT
)
end
function
c5973663
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetLocation
()
==
LOCATION_MZONE
and
c5973663
.
filter1
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExisting
MatchingCard
(
c5973663
.
filter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c5973663
.
filter1
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExisting
Target
(
c5973663
.
filter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c5973663
.
filter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ATKCHANGE
,
g
,
1
,
0
,
500
)
...
...
@@ -115,8 +115,8 @@ function c5973663.filter3(c,e,tp)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c5973663
.
tg3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
c5973663
.
filter3
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c5973663
.
filter3
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c5973663
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c5973663
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
@@ -124,7 +124,7 @@ function c5973663.tg3(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c5973663
.
op3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
=
=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
script/c6007213.lua
View file @
cb4262e4
...
...
@@ -27,7 +27,7 @@ function c6007213.initial_effect(c)
c
:
RegisterEffect
(
e3
)
--destroy
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
71413901
,
2
))
e4
:
SetDescription
(
aux
.
Stringid
(
6007213
,
0
))
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
...
...
script/c60534585.lua
View file @
cb4262e4
...
...
@@ -5,7 +5,7 @@ function c60534585.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCondition
(
c60534585
.
condition
)
e1
:
Set
Cos
t
(
c60534585
.
target
)
e1
:
Set
Targe
t
(
c60534585
.
target
)
e1
:
SetOperation
(
c60534585
.
operation
)
c
:
RegisterEffect
(
e1
)
end
...
...
script/c61011311.lua
View file @
cb4262e4
...
...
@@ -24,7 +24,7 @@ end
function
c61011311
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
Step
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
...
...
script/c6276588.lua
View file @
cb4262e4
...
...
@@ -23,7 +23,7 @@ function c6276588.initial_effect(c)
c
:
RegisterEffect
(
e3
)
--special summon
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
23297235
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
6276588
,
1
))
e4
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
script/c63519819.lua
View file @
cb4262e4
...
...
@@ -53,8 +53,8 @@ function c63519819.eqop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
atk
=
tc
:
GetTextAttack
()
local
def
=
tc
:
GetTextDefence
()
if
c
:
IsFacedown
()
or
atk
<
0
then
atk
=
0
end
if
c
:
IsFacedown
()
or
def
<
0
then
def
=
0
end
if
t
c
:
IsFacedown
()
or
atk
<
0
then
atk
=
0
end
if
t
c
:
IsFacedown
()
or
def
<
0
then
def
=
0
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
--Add Equip limit
tc
:
RegisterFlagEffect
(
63519819
,
RESET_EVENT
+
0x1fe0000
,
0
,
0
)
...
...
script/c64034255.lua
View file @
cb4262e4
...
...
@@ -20,7 +20,7 @@ function c64034255.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c64034255
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
g
:
GetFirst
():
IsAttribute
(
ATTRIBUTE_WIND
)
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
Duel
.
SendtoHand
(
g
,
nil
,
REASON_
EFFEC
T
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_
COS
T
)
end
function
c64034255
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
...
...
script/c64047146.lua
View file @
cb4262e4
...
...
@@ -39,10 +39,10 @@ function c64047146.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
c64047146
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
64047146
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c64047146
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c
hkc
:
IsFaceup
(
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
SelectTarget
(
tp
,
c64047146
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c64047146
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c64268668.lua
View file @
cb4262e4
...
...
@@ -19,8 +19,8 @@ function c64268668.atkcon(e,tp,eg,ep,ev,re,r,rp)
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
return
Duel
.
GetCurrentPhase
()
==
PHASE_BATTLE
and
(
a
and
a
:
IsControler
(
tp
)
and
a
:
IsFaceup
()
and
a
:
IsCode
(
64268668
))
or
(
d
and
d
:
IsControler
(
tp
)
and
d
:
IsFaceup
()
and
d
:
IsCode
(
64268668
))
and
(
(
a
and
a
:
IsControler
(
tp
)
and
a
:
IsFaceup
()
and
a
:
IsCode
(
64268668
))
or
(
d
and
d
:
IsControler
(
tp
)
and
d
:
IsFaceup
()
and
d
:
IsCode
(
64268668
))
)
end
function
c64268668
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
...
...
script/c64631466.lua
View file @
cb4262e4
...
...
@@ -47,8 +47,8 @@ function c64631466.eqop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
atk
=
tc
:
GetTextAttack
()
local
def
=
tc
:
GetTextDefence
()
if
c
:
IsFacedown
()
or
atk
<
0
then
atk
=
0
end
if
c
:
IsFacedown
()
or
def
<
0
then
def
=
0
end
if
t
c
:
IsFacedown
()
or
atk
<
0
then
atk
=
0
end
if
t
c
:
IsFacedown
()
or
def
<
0
then
def
=
0
end
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
)
then
return
end
--Add Equip limit
tc
:
RegisterFlagEffect
(
64631466
,
RESET_EVENT
+
0x1fe0000
,
0
,
0
)
...
...
script/c65079854.lua
View file @
cb4262e4
...
...
@@ -48,7 +48,7 @@ function c65079854.eqlimit(e,c)
return
c
:
IsCode
(
73580471
)
or
c
:
IsRace
(
RACE_PLANT
)
end
function
c65079854
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
73580471
)
or
c
:
IsRace
(
RACE_PLANT
)
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
73580471
)
or
c
:
IsRace
(
RACE_PLANT
)
)
end
function
c65079854
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c65079854
.
filter
(
chkc
)
end
...
...
script/c65810489.lua
View file @
cb4262e4
...
...
@@ -7,6 +7,7 @@ function c65810489.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetCondition
(
c65810489
.
spcon
)
e1
:
SetTarget
(
c65810489
.
sptg
)
e1
:
SetOperation
(
c65810489
.
spop
)
c
:
RegisterEffect
(
e1
)
end
...
...
script/c66625883.lua
View file @
cb4262e4
...
...
@@ -25,7 +25,7 @@ function c66625883.initial_effect(c)
--pos
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
66625883
,
1
))
e4
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_SEARCH
)
e4
:
SetCategory
(
CATEGORY_
POSITION
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
script/c66661678.lua
View file @
cb4262e4
...
...
@@ -20,7 +20,7 @@ function c66661678.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
tp
,
0
)
end
function
c66661678
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
=
=
0
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
<
=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
66661679
,
0
,
0x4011
,
1000
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
66661679
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
...
...
script/c67038874.lua
View file @
cb4262e4
...
...
@@ -7,7 +7,7 @@ function c67038874.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCo
st
(
c67038874
.
condition
)
e1
:
SetCo
ndition
(
c67038874
.
condition
)
e1
:
SetTarget
(
c67038874
.
target
)
e1
:
SetOperation
(
c67038874
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
script/c67300516.lua
View file @
cb4262e4
...
...
@@ -25,15 +25,15 @@ function c67300516.filter(c,e,tp)
return
c
:
IsSetCard
(
0x3b
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c67300516
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c67300516
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
0
,
LOCATION_MZONE
)
>
0
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c67300516
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c67300516
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c67300516
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
e
:
GetHandler
(),
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c67300516
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
0
,
LOCATION_MZONE
)
=
=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
script/c67464807.lua
View file @
cb4262e4
...
...
@@ -21,7 +21,7 @@ function c67464807.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
1
-
tp
)
and
c67464807
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c67464807
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c67464807
.
filte
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c67464807
.
filte
r
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
end
function
c67464807
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
script/c67630339.lua
View file @
cb4262e4
...
...
@@ -14,12 +14,12 @@ function c67630339.initial_effect(c)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
ge1
:
Set
Condi
tion
(
c67630339
.
check
)
ge1
:
Set
Opera
tion
(
c67630339
.
check
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
ge2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge2
:
SetCode
(
EVENT_ATTACK_DISABLED
)
ge2
:
Set
Condi
tion
(
c67630339
.
check2
)
ge2
:
Set
Opera
tion
(
c67630339
.
check2
)
Duel
.
RegisterEffect
(
ge2
,
0
)
local
ge3
=
Effect
.
CreateEffect
(
c
)
ge3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
script/c68191243.lua
View file @
cb4262e4
...
...
@@ -5,7 +5,7 @@ function c68191243.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCo
st
(
c68191243
.
con
)
e1
:
SetCo
ndition
(
c68191243
.
con
)
e1
:
SetTarget
(
c68191243
.
tg
)
e1
:
SetOperation
(
c68191243
.
op
)
c
:
RegisterEffect
(
e1
)
...
...
script/c71645242.lua
View file @
cb4262e4
...
...
@@ -26,7 +26,7 @@ function c71645242.initial_effect(c)
--special summon
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
71645242
,
1
))
e4
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
+
CATEGORY_TOKE
N
)
e4
:
SetCategory
(
CATEGORY_
DESTROY
+
CATEGORY_SPECIAL_SUMMO
N
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_SZONE
)
...
...
@@ -93,9 +93,9 @@ function c71645242.sptg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
(
e
)
and
g
:
GetCount
()
>
0
and
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
sc
)
and
Duel
.
IsExistingMatchingCard
(
c71645242
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
atk
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c71645242
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
atk
,
e
,
tp
)
local
t
g
=
Duel
.
SelectTarget
(
tp
,
c71645242
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
atk
,
e
,
tp
)
e
:
SetLabel
(
atk
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
t
g
,
1
,
0
,
0
)
g
:
AddCard
(
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
...
...
script/c72709014.lua
View file @
cb4262e4
...
...
@@ -80,7 +80,7 @@ function c72709014.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
ec
,
REASON_COST
)
end
function
c72709014
.
spfilter
(
c
,
e
,
tp
,
code
)
return
(
code
==
81383947
and
c
:
IsCode
(
75917088
))
or
(
code
==
46128076
and
c
:
IsCode
(
2316186
))
return
(
(
code
==
81383947
and
c
:
IsCode
(
75917088
))
or
(
code
==
46128076
and
c
:
IsCode
(
2316186
)
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
function
c72709014
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c74848038.lua
View file @
cb4262e4
...
...
@@ -28,7 +28,7 @@ end
function
c74848038
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
script/c75433814.lua
View file @
cb4262e4
...
...
@@ -20,7 +20,7 @@ function c75433814.initial_effect(c)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCo
st
(
c75433814
.
descon
)
e2
:
SetCo
ndition
(
c75433814
.
descon
)
e2
:
SetTarget
(
c75433814
.
destg
)
e2
:
SetOperation
(
c75433814
.
desop
)
c
:
RegisterEffect
(
e2
)
...
...
script/c76384284.lua
View file @
cb4262e4
...
...
@@ -14,14 +14,14 @@ function c76384284.filter(c,e,tp)
return
c
:
IsSetCard
(
0x19
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
end
function
c76384284
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c76384284
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
0
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
function
c76384284
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
=
=
0
then
return
end
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
<
=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c76384284
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
...
...
script/c77864539.lua
View file @
cb4262e4
...
...
@@ -21,7 +21,7 @@ end
function
c77864539
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c77864539
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c77864539
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
Card
.
IsDestructable
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
and
Duel
.
GetAttackTarget
():
IsDestructable
(
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c77864539
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
d
=
Duel
.
GetAttackTarget
()
...
...
script/c78613627.lua
View file @
cb4262e4
...
...
@@ -22,5 +22,5 @@ end
function
c78613627
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
if
not
a
:
IsRelateToBattle
()
then
return
end
Duel
.
Destroy
(
a
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
Destroy
(
a
,
REASON_EFFECT
)
end
script/c79205581.lua
View file @
cb4262e4
...
...
@@ -20,10 +20,10 @@ function c79205581.initial_effect(c)
end
function
c79205581
.
cost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
AsCost
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
GetCurrentPhase
()
==
PHASE_BATTLE
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
79205581
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
AsCost
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
...
...
@@ -38,9 +38,9 @@ function c79205581.condition2(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentPhase
()
==
PHASE_BATTLE
end
function
c79205581
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
AsCost
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
AsCost
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
c79205581
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c79229522.lua
View file @
cb4262e4
...
...
@@ -47,7 +47,7 @@ function c79229522.sprop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
79205581
,
0
))
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c79229522
.
spfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
79205581
,
1
))
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c79229522
.
spfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
10
,
g1
:
GetFirst
())
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c79229522
.
spfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
10
,
g1
:
GetFirst
()
,
tp
)
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
--spsummon condition
...
...
script/c80651316.lua
View file @
cb4262e4
...
...
@@ -25,12 +25,12 @@ function c80651316.sfilter(c)
end
function
c80651316
.
schtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c80651316
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c80651316
.
schop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c80651316
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
...
...
script/c81122844.lua
View file @
cb4262e4
...
...
@@ -56,10 +56,10 @@ function c81122844.thcon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c81122844
.
tgfilter
,
1
,
nil
,
e
,
tp
)
end
function
c81122844
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c81122844
.
tgfilter
(
chkc
,
e
)
end
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c81122844
.
tgfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
eg
:
FilterSelect
(
tp
,
c81122844
.
tgfilter
,
1
,
1
,
nil
,
e
)
local
g
=
eg
:
FilterSelect
(
tp
,
c81122844
.
tgfilter
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
end
...
...
script/c81336148.lua
View file @
cb4262e4
...
...
@@ -20,7 +20,7 @@ end
function
c81336148
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
return
d
and
Duel
.
GetTurnPlayer
()
==
tp
and
(
d
:
IsRelateToBattle
()
or
not
d
:
IsReason
(
REASON_BATTLE
))
return
d
and
Duel
.
GetTurnPlayer
()
==
tp
and
a
:
IsRace
(
RACE_WARRIOR
)
and
(
d
:
IsRelateToBattle
()
or
not
d
:
IsReason
(
REASON_BATTLE
))
end
function
c81336148
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c81661951.lua
View file @
cb4262e4
...
...
@@ -16,7 +16,7 @@ function c81661951.filter(c,e,tp)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x29
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c81661951
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
Get
Location
(
LOCATION_SZONE
)
and
c81661951
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
Is
Location
(
LOCATION_SZONE
)
and
c81661951
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c81661951
.
filter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c81846636.lua
View file @
cb4262e4
...
...
@@ -20,10 +20,10 @@ function c81846636.filter(c)
end
function
c81846636
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c81846636
.
filter
(
chkc
)
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c81846636
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c81846636
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
()
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
end
function
c81846636
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
script/c81866673.lua
View file @
cb4262e4
...
...
@@ -21,7 +21,7 @@ function c81866673.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
8
0714121
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
8
1866673
,
1
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
...
...
script/c82670878.lua
View file @
cb4262e4
...
...
@@ -18,12 +18,12 @@ function c82670878.initial_effect(c)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
ge1
:
Set
Condi
tion
(
c82670878
.
check
)
ge1
:
Set
Opera
tion
(
c82670878
.
check
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
ge2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge2
:
SetCode
(
EVENT_ATTACK_DISABLED
)
ge2
:
Set
Condi
tion
(
c82670878
.
check2
)
ge2
:
Set
Opera
tion
(
c82670878
.
check2
)
Duel
.
RegisterEffect
(
ge2
,
0
)
local
ge3
=
Effect
.
CreateEffect
(
c
)
ge3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -88,7 +88,7 @@ function c82670878.operation(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_CANNOT_BE_BATTLE_TARGET
)
e3
:
SetTarget
(
c82670878
.
atlimit
)
e3
:
SetValue
(
1
)
e
1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e
3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e3
)
end
Duel
.
SpecialSummonComplete
()
...
...
script/c82994509.lua
View file @
cb4262e4
...
...
@@ -6,7 +6,7 @@ function c82994509.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
e1
:
Set
Target
(
c82994509
.
condition
)
e1
:
Set
Condition
(
c82994509
.
condition
)
e1
:
SetTarget
(
c82994509
.
target
)
e1
:
SetOperation
(
c82994509
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
script/c83370323.lua
View file @
cb4262e4
...
...
@@ -24,7 +24,7 @@ function c83370323.op(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetOperation
(
c83370323
.
atkop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
sync
:
RegisterEffect
(
e1
)
end
function
c83370323
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c83555666.lua
View file @
cb4262e4
...
...
@@ -12,7 +12,7 @@ function c83555666.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c83555666
.
filter
(
c
)
return
c
:
IsDestructable
()
return
c
:
Is
Faceup
()
and
c
:
Is
Destructable
()
end
function
c83555666
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c83555666
.
filter
(
chkc
)
end
...
...
@@ -24,7 +24,7 @@ function c83555666.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c83555666
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
local
atk
=
tc
:
GetAttack
()
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
...
...
script/c83555667.lua
View file @
cb4262e4
...
...
@@ -12,7 +12,7 @@ function c83555667.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c83555667
.
filter
(
c
)
return
c
:
IsDestructable
()
return
c
:
Is
Faceup
()
and
c
:
Is
Destructable
()
end
function
c83555667
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c83555667
.
filter
(
chkc
)
end
...
...
@@ -24,7 +24,7 @@ function c83555667.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c83555667
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
local
atk
=
tc
:
GetAttack
()
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
...
...
script/c85028288.lua
View file @
cb4262e4
...
...
@@ -16,7 +16,7 @@ function c85028288.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--atkup
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
8
0102359
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
8
5028288
,
0
))
e3
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
...
...
script/c85066822.lua
View file @
cb4262e4
--ウォーター·ドラゴン
function
c85066822
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
...
@@ -16,7 +17,7 @@ function c85066822.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
58071123
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
85066822
,
0
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
...
...
script/c85352446.lua
View file @
cb4262e4
...
...
@@ -13,7 +13,7 @@ function c85352446.initial_effect(c)
end
function
c85352446
.
filter
(
c
)
local
lv
=
c
:
GetLevel
()
return
lv
>
0
and
lv
<=
5
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c85352446
.
filter2
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
)
return
lv
>
0
and
lv
<=
5
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c85352446
.
filter2
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
,
lv
)
end
function
c85352446
.
filter2
(
c
,
lv
)
local
clv
=
c
:
GetLevel
()
...
...
script/c85431040.lua
View file @
cb4262e4
...
...
@@ -2,7 +2,7 @@
function
c85431040
.
initial_effect
(
c
)
--damage
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
85431040
.
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
85431040
,
0
))
e1
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
script/c85475641.lua
View file @
cb4262e4
...
...
@@ -12,26 +12,29 @@ function c85475641.initial_effect(c)
e1
:
SetOperation
(
c85475641
.
spop
)
c
:
RegisterEffect
(
e1
)
end
function
c85475641
.
filter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
GetLevel
()
>
0
and
c
:
IsControler
(
tp
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
GetCode
()
~=
85475641
end
function
c85475641
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
des
=
eg
:
GetFirst
()
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
==
0
and
des
:
IsLocation
(
LOCATION_GRAVE
)
and
des
:
GetLevel
()
>
0
and
des
:
IsReason
(
REASON_BATTLE
)
and
des
:
GetControler
()
==
tp
and
des
:
GetPreviousControler
()
==
tp
and
des
:
GetCode
()
~=
85475641
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
==
0
and
eg
:
IsExists
(
c85475641
.
filter
,
1
,
nil
,
tp
)
end
function
c85475641
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
e
:
SetLabel
(
eg
:
Filter
(
c85475641
.
filter
,
nil
,
tp
):
GetFirst
():
GetLevel
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c85475641
.
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
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
~=
0
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
Step
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetValue
(
e
g
:
GetFirst
():
GetLev
el
())
e1
:
SetValue
(
e
:
GetLab
el
())
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e1
)
Duel
.
SpecialSummonComplete
()
end
script/c86170989.lua
View file @
cb4262e4
...
...
@@ -17,7 +17,7 @@ function c86170989.filter2(c,e,tp)
end
function
c86170989
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c86170989
.
filter2
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c86170989
.
filter2
(
chkc
,
e
,
tp
)
end
return
e
:
GetHandler
():
IsRelateToBattle
()
end
local
op
=
0
...
...
@@ -61,7 +61,7 @@ function c86170989.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c86170989
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
end
script/c87319876.lua
View file @
cb4262e4
...
...
@@ -12,7 +12,7 @@ function c87319876.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_BE_MATERIAL
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
Set
Target
(
c87319876
.
ccon
)
e2
:
Set
Condition
(
c87319876
.
ccon
)
e2
:
SetOperation
(
c87319876
.
cop
)
c
:
RegisterEffect
(
e2
)
end
...
...
script/c88559132.lua
View file @
cb4262e4
...
...
@@ -18,6 +18,7 @@ function c88559132.spop(e,tp,eg,ep,ev,re,r,rp,c)
local
g
=
Duel
.
SelectReleaseGroup
(
c
:
GetControler
(),
Card
.
IsRace
,
1
,
1
,
nil
,
RACE_WARRIOR
)
Duel
.
Release
(
g
,
REASON_COST
)
local
atk
=
g
:
GetFirst
():
GetBaseAttack
()
if
atk
<
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
script/c88958576.lua
View file @
cb4262e4
...
...
@@ -11,7 +11,7 @@ function c88958576.initial_effect(c)
end
function
c88958576
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
=
=
0
then
return
false
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
<
=
0
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSetCard
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
,
0x39
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
return
ct
>=
3
...
...
script/c89235196.lua
View file @
cb4262e4
...
...
@@ -17,16 +17,17 @@ end
function
c89235196
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c89235196
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
RTOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c89235196
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SendtoGrave
(
g
,
REASON_
EFFEC
T
)
Duel
.
SendtoGrave
(
g
,
REASON_
COS
T
)
Duel
.
ShuffleHand
(
tp
)
end
function
c89235196
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c89235196
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c89235196
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
return
end
...
...
script/c91580102.lua
View file @
cb4262e4
...
...
@@ -33,7 +33,7 @@ function c91580102.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
Set
Target
(
c91580102
.
atkcon
)
e5
:
Set
Condition
(
c91580102
.
atkcon
)
e5
:
SetTarget
(
c91580102
.
atktg
)
e5
:
SetOperation
(
c91580102
.
atkop
)
c
:
RegisterEffect
(
e5
)
...
...
script/c92065772.lua
View file @
cb4262e4
...
...
@@ -10,7 +10,7 @@ function c92065772.initial_effect(c)
end
function
c92065772
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
then
return
end
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
--disable field
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
script/c92933195.lua
View file @
cb4262e4
...
...
@@ -7,11 +7,11 @@ function c92933195.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCo
st
(
c92933195
.
handcon
)
e1
:
SetCo
ndition
(
c92933195
.
handcon
)
e1
:
SetOperation
(
c92933195
.
handop
)
c
:
RegisterEffect
(
e1
)
end
function
c92933195
.
handcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c92933195
.
handcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>=
5
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>=
5
end
function
c92933195
.
handop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c94331452.lua
View file @
cb4262e4
...
...
@@ -31,7 +31,10 @@ function c94331452.target1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c94331452
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c94331452
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c94331452
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c94331452
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
562
)
local
rc
=
Duel
.
AnnounceAttribute
(
tp
,
1
,
0xffff
)
e
:
SetLabel
(
rc
)
end
function
c94331452
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c94331452
.
filter
(
chkc
)
end
...
...
script/c95194279.lua
View file @
cb4262e4
...
...
@@ -18,7 +18,7 @@ function c95194279.filter(c,e,tp)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c95194279
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsC
O
ntroler
(
tp
)
and
c95194279
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsC
o
ntroler
(
tp
)
and
c95194279
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c95194279
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c95526884.lua
View file @
cb4262e4
...
...
@@ -27,7 +27,7 @@ function c95526884.reccon(e,tp,eg,ep,ev,re,r,rp)
if
not
d
then
return
false
end
local
m
=
a
:
GetAttack
()
-
d
:
GetDefence
()
e
:
SetLabel
(
m
)
return
c
==
a
and
m
>
0
and
bit
.
band
(
d
:
GetBattlePosition
(),
POS_DEFENCE
)
~=
0
return
c
==
a
and
d
:
GetDefence
()
>=
0
and
m
>
0
and
bit
.
band
(
d
:
GetBattlePosition
(),
POS_DEFENCE
)
~=
0
end
function
c95526884
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
script/c95637655.lua
View file @
cb4262e4
--バックアップ·ウォリアー
function
c95637655
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
script/c95750695.lua
View file @
cb4262e4
...
...
@@ -36,11 +36,11 @@ end
function
c95750695
.
eqlimit
(
e
,
c
)
return
c
:
IsType
(
TYPE_DUAL
)
end
function
c95750695
.
filter
(
c
,
tp
)
function
c95750695
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_DUAL
)
end
function
c95750695
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
GRAV
E
)
and
c95750695
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
MZON
E
)
and
c95750695
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c95750695
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
SelectTarget
(
tp
,
c95750695
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
...
...
@@ -61,7 +61,7 @@ function c95750695.spfilter(c,e,tp)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c95750695
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c95750695
.
spfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c95750695
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c95750695
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
script/c97151365.lua
View file @
cb4262e4
...
...
@@ -14,7 +14,7 @@ function c97151365.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
18235577
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
97151365
,
0
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
script/c9780364.lua
View file @
cb4262e4
...
...
@@ -6,7 +6,7 @@ function c9780364.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCo
st
(
c9780364
.
condition
)
e1
:
SetCo
ndition
(
c9780364
.
condition
)
e1
:
SetTarget
(
c9780364
.
target
)
e1
:
SetOperation
(
c9780364
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
script/c97922283.lua
View file @
cb4262e4
...
...
@@ -12,7 +12,7 @@ function c97922283.initial_effect(c)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCondition
(
c97922283
.
condition
)
e2
:
Set
Cos
t
(
c97922283
.
target
)
e2
:
Set
Targe
t
(
c97922283
.
target
)
e2
:
SetOperation
(
c97922283
.
operation
)
c
:
RegisterEffect
(
e2
)
end
...
...
script/c97970833.lua
View file @
cb4262e4
...
...
@@ -19,7 +19,7 @@ function c97970833.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97970833
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
end
function
c97970833
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c97970833
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c97970833
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
tp
)
if
tc
then
if
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
~=
nil
then
Duel
.
Destroy
(
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
),
REASON_RULE
)
...
...
script/c98336111.lua
View file @
cb4262e4
...
...
@@ -13,7 +13,7 @@ end
function
c98336111
.
condtion
(
e
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
(
ph
==
PHASE_DAMAGE
or
ph
==
PHASE_DAMAGE_CAL
)
and
Duel
.
GetAttackTarget
()
~=
nil
and
(
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
)
or
(
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
())
and
(
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
or
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
())
end
function
c98336111
.
target
(
e
,
c
)
return
c
==
e
:
GetHandler
():
GetBattleTarget
()
and
c
:
IsType
(
TYPE_FUSION
)
...
...
script/c98558751.lua
View file @
cb4262e4
...
...
@@ -6,7 +6,7 @@ function c98558751.initial_effect(c)
--destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
98558751
,
0
))
e1
:
SetCategory
(
CATEGORY_D
RAW
)
e1
:
SetCategory
(
CATEGORY_D
ESTROY
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
script/c99214782.lua
View file @
cb4262e4
...
...
@@ -5,10 +5,14 @@ function c99214782.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c99214782
.
condition
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e1
:
SetTarget
(
c99214782
.
target
)
c
:
RegisterEffect
(
e1
)
end
function
c99214782
.
condition
(
e
)
return
e
:
GetHandler
():
IsAttackPos
()
end
function
c99214782
.
target
(
e
,
c
)
return
c
:
GetLevel
()
>=
5
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
end
strings.conf
View file @
cb4262e4
...
...
@@ -406,6 +406,6 @@
!
counter
0
x24
弦指示物
!
counter
0
x25
年代记指示物
!
counter
0
x26
指示物(金属射手)
!
counter
0
x2
6
指示物(死亡蚊)
!
counter
0
x2
7
指示物(死亡蚊)
!
counter
0
x3027
指示物(暗黑投射手)
!
counter
0
x28
指示物(气球蜥蜴)
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