Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Ai
ygopro-222DIY-cards
Commits
4482e31b
Commit
4482e31b
authored
Jan 23, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes for MSG_HINT
parent
8bb74a78
Changes
30
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
43 additions
and
50 deletions
+43
-50
expansions/script/c10905008.lua
expansions/script/c10905008.lua
+1
-1
expansions/script/c20100002.lua
expansions/script/c20100002.lua
+3
-3
expansions/script/c20100068.lua
expansions/script/c20100068.lua
+2
-2
expansions/script/c20100074.lua
expansions/script/c20100074.lua
+1
-1
expansions/script/c65072000.lua
expansions/script/c65072000.lua
+2
-2
expansions/script/c65072001.lua
expansions/script/c65072001.lua
+2
-2
expansions/script/c65072002.lua
expansions/script/c65072002.lua
+2
-2
expansions/script/c65072003.lua
expansions/script/c65072003.lua
+1
-1
expansions/script/c65072004.lua
expansions/script/c65072004.lua
+1
-2
expansions/script/c65072005.lua
expansions/script/c65072005.lua
+2
-2
expansions/script/c65072006.lua
expansions/script/c65072006.lua
+1
-1
expansions/script/c65072007.lua
expansions/script/c65072007.lua
+1
-1
expansions/script/c65072008.lua
expansions/script/c65072008.lua
+1
-2
expansions/script/c65072009.lua
expansions/script/c65072009.lua
+1
-3
expansions/script/c65072010.lua
expansions/script/c65072010.lua
+1
-1
expansions/script/c65072011.lua
expansions/script/c65072011.lua
+1
-1
expansions/script/c65072012.lua
expansions/script/c65072012.lua
+2
-2
expansions/script/c65072013.lua
expansions/script/c65072013.lua
+1
-2
expansions/script/c65072014.lua
expansions/script/c65072014.lua
+2
-2
expansions/script/c65072017.lua
expansions/script/c65072017.lua
+2
-2
expansions/script/c65072018.lua
expansions/script/c65072018.lua
+1
-1
expansions/script/c65072019.lua
expansions/script/c65072019.lua
+2
-2
expansions/script/c65072020.lua
expansions/script/c65072020.lua
+2
-2
expansions/script/c65072021.lua
expansions/script/c65072021.lua
+1
-2
expansions/script/c65072022.lua
expansions/script/c65072022.lua
+1
-1
expansions/script/c65072023.lua
expansions/script/c65072023.lua
+1
-1
expansions/script/c65072025.lua
expansions/script/c65072025.lua
+1
-1
expansions/script/c65072027.lua
expansions/script/c65072027.lua
+2
-2
expansions/script/c65072028.lua
expansions/script/c65072028.lua
+1
-1
expansions/script/c65072029.lua
expansions/script/c65072029.lua
+1
-2
No files found.
expansions/script/c10905008.lua
View file @
4482e31b
...
@@ -103,7 +103,7 @@ function cm.operation2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -103,7 +103,7 @@ function cm.operation2(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
bgmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
bgmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
m
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
m
,
0
))
end
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
expansions/script/c20100002.lua
View file @
4482e31b
...
@@ -587,7 +587,7 @@ function Cirn9.opcon(e)
...
@@ -587,7 +587,7 @@ function Cirn9.opcon(e)
return
Duel
.
GetTurnCount
()
==
1
return
Duel
.
GetTurnCount
()
==
1
end
end
function
Cirn9
.
opop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
Cirn9
.
opop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
20100060
,
3
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
20100060
,
3
))
end
end
function
Cirn9
.
ap1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
Cirn9
.
ap1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -645,7 +645,7 @@ end
...
@@ -645,7 +645,7 @@ end
function
Cirn9
.
RevueBgm
(
tp
)
function
Cirn9
.
RevueBgm
(
tp
)
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
local
fcode
=
fc
:
GetOriginalCode
()
local
fcode
=
fc
:
GetOriginalCode
()
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
fcode
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
fcode
,
0
))
end
end
function
Cirn9
.
GetLine
(
c
)
function
Cirn9
.
GetLine
(
c
)
if
c
:
IsLocation
(
LOCATION_FZONE
)
then
return
99
end
if
c
:
IsLocation
(
LOCATION_FZONE
)
then
return
99
end
...
@@ -801,4 +801,4 @@ function Cirn9.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -801,4 +801,4 @@ function Cirn9.acop(e,tp,eg,ep,ev,re,r,rp)
for
i
=
1
,
ev
do
for
i
=
1
,
ev
do
Duel
.
RegisterFlagEffect
(
tp
,
20100052
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
20100052
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
end
end
\ No newline at end of file
expansions/script/c20100068.lua
View file @
4482e31b
...
@@ -113,7 +113,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -113,7 +113,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Cirn9
.
Climax
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
then
return
end
if
not
Cirn9
.
Climax
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
then
return
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
m
,
3
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
m
,
3
))
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
end
if
ft
<=
0
then
return
end
local
tid
=
Duel
.
GetTurnCount
()
local
tid
=
Duel
.
GetTurnCount
()
...
@@ -127,4 +127,4 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -127,4 +127,4 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
g
:
RemoveCard
(
sg
:
GetFirst
())
g
:
RemoveCard
(
sg
:
GetFirst
())
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
\ No newline at end of file
expansions/script/c20100074.lua
View file @
4482e31b
...
@@ -97,7 +97,7 @@ function cm.cltg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -97,7 +97,7 @@ function cm.cltg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
clop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
clop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Cirn9
.
Climax
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
then
return
end
if
not
Cirn9
.
Climax
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
then
return
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
m
,
3
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
m
,
3
))
local
tc
=
e
:
GetHandler
()
local
tc
=
e
:
GetHandler
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
--local g=Duel.GetMatchingGroup(cm.atkfi lter,tp,LOCATION_MZONE,0,tc)
--local g=Duel.GetMatchingGroup(cm.atkfi lter,tp,LOCATION_MZONE,0,tc)
...
...
expansions/script/c65072000.lua
View file @
4482e31b
...
@@ -43,11 +43,11 @@ function c65072000.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,11 +43,11 @@ function c65072000.op(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g1
:
GetFirst
()
local
tc
=
g1
:
GetFirst
()
local
code
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
code
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
code
,
0
))
elseif
m
==
1
and
b2
then
elseif
m
==
1
and
b2
then
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
e
:
GetHandler
())
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
e
:
GetHandler
())
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c65072000
.
fil2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c65072000
.
fil2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
g2
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g2
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g2
)
Duel
.
ConfirmCards
(
1
-
tp
,
g2
)
end
end
end
end
\ No newline at end of file
expansions/script/c65072001.lua
View file @
4482e31b
...
@@ -60,7 +60,7 @@ function c65072001.cop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c65072001.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
code
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
code
,
0
))
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
@@ -111,4 +111,4 @@ function c65072001.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -111,4 +111,4 @@ function c65072001.operation(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
ChangeTargetCard
(
ev
,
Group
.
FromCards
(
tc
))
Duel
.
ChangeTargetCard
(
ev
,
Group
.
FromCards
(
tc
))
end
end
end
end
\ No newline at end of file
expansions/script/c65072002.lua
View file @
4482e31b
...
@@ -14,7 +14,7 @@ end
...
@@ -14,7 +14,7 @@ end
function
c65072002
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072002
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
65072002
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072002
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
end
...
@@ -81,4 +81,4 @@ function c65072002.efop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,4 +81,4 @@ function c65072002.efop(e,tp,eg,ep,ev,re,r,rp)
local
cid
=
tc
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
)
local
cid
=
tc
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
code
,
1
))
tc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
code
,
1
))
end
end
end
end
\ No newline at end of file
expansions/script/c65072003.lua
View file @
4482e31b
...
@@ -58,7 +58,7 @@ function c65072003.cop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function c65072003.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
code
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
code
,
0
))
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
expansions/script/c65072004.lua
View file @
4482e31b
...
@@ -60,7 +60,7 @@ function c65072004.cop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c65072004.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
code
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
code
,
0
))
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
@@ -102,4 +102,3 @@ end
...
@@ -102,4 +102,3 @@ end
function
c65072004
.
efilter
(
e
,
te
)
function
c65072004
.
efilter
(
e
,
te
)
return
te
:
GetOwnerPlayer
()
~=
e
:
GetOwnerPlayer
()
return
te
:
GetOwnerPlayer
()
~=
e
:
GetOwnerPlayer
()
end
end
expansions/script/c65072005.lua
View file @
4482e31b
...
@@ -14,7 +14,7 @@ end
...
@@ -14,7 +14,7 @@ end
function
c65072005
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072005
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
65072005
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072005
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
end
...
@@ -83,6 +83,6 @@ function c65072005.tfop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,6 +83,6 @@ function c65072005.tfop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c65072005
.
tffilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c65072005
.
tffilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
tc
then
if
tc
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
tc
:
GetCode
(),
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
tc
:
GetCode
(),
0
))
end
end
end
end
expansions/script/c65072006.lua
View file @
4482e31b
...
@@ -61,7 +61,7 @@ function c65072006.cop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,7 @@ function c65072006.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
code
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
code
,
0
))
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
expansions/script/c65072007.lua
View file @
4482e31b
...
@@ -17,7 +17,7 @@ function c65072007.filter(c)
...
@@ -17,7 +17,7 @@ function c65072007.filter(c)
end
end
function
c65072007
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072007
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65072007
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65072007
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
65072007
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072007
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c65072007
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65072007
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c65072008.lua
View file @
4482e31b
...
@@ -60,7 +60,7 @@ function c65072008.cop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c65072008.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
code
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
code
,
0
))
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
@@ -99,4 +99,3 @@ function c65072008.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -99,4 +99,3 @@ function c65072008.operation(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
end
end
expansions/script/c65072009.lua
View file @
4482e31b
...
@@ -60,7 +60,7 @@ function c65072009.cop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c65072009.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
code
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
code
,
0
))
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
@@ -93,5 +93,3 @@ function c65072009.sop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,5 +93,3 @@ function c65072009.sop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
end
end
end
expansions/script/c65072010.lua
View file @
4482e31b
...
@@ -14,7 +14,7 @@ end
...
@@ -14,7 +14,7 @@ end
function
c65072010
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072010
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
65072010
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072010
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
end
...
...
expansions/script/c65072011.lua
View file @
4482e31b
...
@@ -60,7 +60,7 @@ function c65072011.cop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c65072011.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
code
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
code
,
0
))
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
expansions/script/c65072012.lua
View file @
4482e31b
...
@@ -14,7 +14,7 @@ end
...
@@ -14,7 +14,7 @@ end
function
c65072012
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c65072012
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsCode
(
65071999
)
end
if
chkc
then
return
chkc
:
IsCode
(
65071999
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
65071999
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
65071999
)
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
65072012
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072012
,
0
))
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
65071999
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
65071999
)
end
end
function
c65072012
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65072012
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -74,4 +74,4 @@ function c65072012.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,4 +74,4 @@ function c65072012.operation(e,tp,eg,ep,ev,re,r,rp)
token
:
RegisterEffect
(
e5
,
true
)
token
:
RegisterEffect
(
e5
,
true
)
end
end
end
end
end
end
\ No newline at end of file
expansions/script/c65072013.lua
View file @
4482e31b
...
@@ -20,7 +20,7 @@ end
...
@@ -20,7 +20,7 @@ end
function
c65072013
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c65072013
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsCode
(
65071999
)
and
chkc
:
IsControler
(
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsCode
(
65071999
)
and
chkc
:
IsControler
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
65071999
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
65071999
)
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
65072013
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072013
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
65071999
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
65071999
)
end
end
...
@@ -46,4 +46,3 @@ function c65072013.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,4 +46,3 @@ function c65072013.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e5
)
tc
:
RegisterEffect
(
e5
)
end
end
end
end
expansions/script/c65072014.lua
View file @
4482e31b
...
@@ -19,7 +19,7 @@ function c65072014.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -19,7 +19,7 @@ function c65072014.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c65072014
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c65072014
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
65072014
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072014
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c65072014
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
local
g1
=
Duel
.
SelectTarget
(
tp
,
c65072014
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
@@ -51,4 +51,4 @@ function c65072014.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,4 +51,4 @@ function c65072014.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
expansions/script/c65072017.lua
View file @
4482e31b
...
@@ -32,7 +32,7 @@ function c65072017.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c65072017.initial_effect(c)
end
end
function
c65072017
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072017
.
music
(
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
(
1
1
,
0
,
aux
.
Stringid
(
65072017
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072017
,
0
))
end
end
function
c65072017
.
val
(
e
,
c
)
function
c65072017
.
val
(
e
,
c
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
...
@@ -89,4 +89,4 @@ end
...
@@ -89,4 +89,4 @@ end
function
c65072017
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65072017
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c65072018.lua
View file @
4482e31b
...
@@ -32,7 +32,7 @@ function c65072018.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c65072018.initial_effect(c)
end
end
function
c65072018
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072018
.
music
(
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
(
1
1
,
0
,
aux
.
Stringid
(
65072018
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072018
,
0
))
end
end
function
c65072018
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65072018
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
()
==
e
:
GetHandler
()
return
re
:
GetHandler
()
==
e
:
GetHandler
()
...
...
expansions/script/c65072019.lua
View file @
4482e31b
...
@@ -20,7 +20,7 @@ end
...
@@ -20,7 +20,7 @@ end
function
c65072019
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072019
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
and
Duel
.
IsExistingMatchingCard
(
c65072019
.
tgfil
,
tp
,
LOCATION_FZONE
,
0
,
1
,
nil
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
and
Duel
.
IsExistingMatchingCard
(
c65072019
.
tgfil
,
tp
,
LOCATION_FZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
65072019
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072019
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
end
...
@@ -35,4 +35,4 @@ function c65072019.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,4 +35,4 @@ function c65072019.activate(e,tp,eg,ep,ev,re,r,rp)
if
i
==
num
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65072019
,
2
))
then
break
end
if
i
==
num
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65072019
,
2
))
then
break
end
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
\ No newline at end of file
expansions/script/c65072020.lua
View file @
4482e31b
...
@@ -17,7 +17,7 @@ end
...
@@ -17,7 +17,7 @@ end
function
c65072020
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072020
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
and
Duel
.
IsExistingMatchingCard
(
c65072020
.
tgfil
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65071999
,
0
,
0x4011
,
2100
,
2100
,
6
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
and
Duel
.
IsExistingMatchingCard
(
c65072020
.
tgfil
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
65072020
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072020
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
end
...
@@ -50,4 +50,4 @@ function c65072020.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,4 +50,4 @@ function c65072020.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65072020
.
splimit
(
e
,
c
)
function
c65072020
.
splimit
(
e
,
c
)
return
not
c
:
IsCode
(
65071999
)
return
not
c
:
IsCode
(
65071999
)
end
end
\ No newline at end of file
expansions/script/c65072021.lua
View file @
4482e31b
...
@@ -32,7 +32,7 @@ function c65072021.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c65072021.initial_effect(c)
end
end
function
c65072021
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072021
.
music
(
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
(
1
1
,
0
,
aux
.
Stringid
(
65072021
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072021
,
0
))
end
end
function
c65072021
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65072021
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
...
@@ -101,4 +101,3 @@ function c65072021.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -101,4 +101,3 @@ function c65072021.tgop(e,tp,eg,ep,ev,re,r,rp)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
end
expansions/script/c65072022.lua
View file @
4482e31b
...
@@ -31,7 +31,7 @@ function c65072022.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c65072022.initial_effect(c)
end
end
function
c65072022
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072022
.
music
(
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
(
1
1
,
0
,
aux
.
Stringid
(
65072022
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072022
,
0
))
end
end
function
c65072022
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65072022
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
()
==
Duel
.
GetAttacker
()
and
e
:
GetHandler
():
IsRelateToBattle
()
return
e
:
GetHandler
()
==
Duel
.
GetAttacker
()
and
e
:
GetHandler
():
IsRelateToBattle
()
...
...
expansions/script/c65072023.lua
View file @
4482e31b
...
@@ -32,7 +32,7 @@ function c65072023.filter(c)
...
@@ -32,7 +32,7 @@ function c65072023.filter(c)
end
end
function
c65072023
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072023
.
target
(
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
(
1
1
,
0
,
aux
.
Stringid
(
65072023
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072023
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
e
:
GetLabel
(),
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
e
:
GetLabel
(),
tp
,
LOCATION_DECK
)
end
end
function
c65072023
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65072023
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c65072025.lua
View file @
4482e31b
...
@@ -32,7 +32,7 @@ function c65072025.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c65072025.initial_effect(c)
end
end
function
c65072025
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072025
.
music
(
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
(
1
1
,
0
,
aux
.
Stringid
(
65072025
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072025
,
0
))
end
end
function
c65072025
.
val
(
e
,
te
)
function
c65072025
.
val
(
e
,
te
)
return
te
:
GetOwner
()
==
e
:
GetHandler
()
return
te
:
GetOwner
()
==
e
:
GetHandler
()
...
...
expansions/script/c65072027.lua
View file @
4482e31b
...
@@ -28,7 +28,7 @@ function c65072027.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -28,7 +28,7 @@ function c65072027.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c65072027
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072027
.
target
(
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
(
1
1
,
0
,
aux
.
Stringid
(
65072027
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072027
,
0
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
end
...
@@ -58,4 +58,4 @@ function c65072027.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,4 +58,4 @@ function c65072027.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65072027
.
splimit
(
e
,
c
)
function
c65072027
.
splimit
(
e
,
c
)
return
not
c
:
IsCode
(
65071999
)
return
not
c
:
IsCode
(
65071999
)
end
end
\ No newline at end of file
expansions/script/c65072028.lua
View file @
4482e31b
...
@@ -32,7 +32,7 @@ function c65072028.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c65072028.initial_effect(c)
end
end
function
c65072028
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072028
.
music
(
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
(
1
1
,
0
,
aux
.
Stringid
(
65072028
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072028
,
0
))
end
end
function
c65072028
.
distg
(
e
,
c
)
function
c65072028
.
distg
(
e
,
c
)
local
ec
=
e
:
GetHandler
()
local
ec
=
e
:
GetHandler
()
...
...
expansions/script/c65072029.lua
View file @
4482e31b
...
@@ -32,7 +32,7 @@ function c65072029.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c65072029.initial_effect(c)
end
end
function
c65072029
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65072029
.
music
(
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
(
1
1
,
0
,
aux
.
Stringid
(
65072029
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
65072029
,
0
))
end
end
function
c65072029
.
val
(
e
,
te
)
function
c65072029
.
val
(
e
,
te
)
return
te
:
GetOwnerPlayer
()
==
e
:
GetHandlerPlayer
()
and
te
:
GetOwner
()
~=
e
:
GetOwner
()
return
te
:
GetOwnerPlayer
()
==
e
:
GetHandlerPlayer
()
and
te
:
GetOwner
()
~=
e
:
GetOwner
()
...
@@ -88,4 +88,3 @@ function c65072029.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,4 +88,3 @@ function c65072029.tgop(e,tp,eg,ep,ev,re,r,rp)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
end
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