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
REIKAI
ygopro-222DIY-cards
Commits
4482e31b
You need to sign in or sign up before continuing.
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)
end
end
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
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
expansions/script/c20100002.lua
View file @
4482e31b
...
...
@@ -587,7 +587,7 @@ function Cirn9.opcon(e)
return
Duel
.
GetTurnCount
()
==
1
end
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
function
Cirn9
.
ap1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -645,7 +645,7 @@ end
function
Cirn9
.
RevueBgm
(
tp
)
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
local
fcode
=
fc
:
GetOriginalCode
()
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
fcode
,
0
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
fcode
,
0
))
end
function
Cirn9
.
GetLine
(
c
)
if
c
:
IsLocation
(
LOCATION_FZONE
)
then
return
99
end
...
...
@@ -801,4 +801,4 @@ function Cirn9.acop(e,tp,eg,ep,ev,re,r,rp)
for
i
=
1
,
ev
do
Duel
.
RegisterFlagEffect
(
tp
,
20100052
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
\ No newline at end of file
end
expansions/script/c20100068.lua
View file @
4482e31b
...
...
@@ -113,7 +113,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
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
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
)
if
ft
<=
0
then
return
end
local
tid
=
Duel
.
GetTurnCount
()
...
...
@@ -127,4 +127,4 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
g
:
RemoveCard
(
sg
:
GetFirst
())
end
Duel
.
SpecialSummonComplete
()
end
\ No newline at end of file
end
expansions/script/c20100074.lua
View file @
4482e31b
...
...
@@ -97,7 +97,7 @@ function cm.cltg(e,tp,eg,ep,ev,re,r,rp,chk)
end
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
Duel
.
Hint
(
1
1
,
0
,
aux
.
Stringid
(
m
,
3
))
Duel
.
Hint
(
2
1
,
0
,
aux
.
Stringid
(
m
,
3
))
local
tc
=
e
:
GetHandler
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
--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)
local
tc
=
g1
:
GetFirst
()
local
code
=
tc
:
GetCode
()
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
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
)
Duel
.
SendtoHand
(
g2
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g2
)
end
end
\ No newline at end of file
end
expansions/script/c65072001.lua
View file @
4482e31b
...
...
@@ -60,7 +60,7 @@ function c65072001.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
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
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -111,4 +111,4 @@ function c65072001.operation(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
ChangeTargetCard
(
ev
,
Group
.
FromCards
(
tc
))
end
end
\ No newline at end of file
end
expansions/script/c65072002.lua
View file @
4482e31b
...
...
@@ -14,7 +14,7 @@ end
function
c65072002
.
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
,
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_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
...
...
@@ -81,4 +81,4 @@ function c65072002.efop(e,tp,eg,ep,ev,re,r,rp)
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
))
end
end
\ No newline at end of file
end
expansions/script/c65072003.lua
View file @
4482e31b
...
...
@@ -58,7 +58,7 @@ function c65072003.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
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
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
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)
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
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
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -102,4 +102,3 @@ end
function
c65072004
.
efilter
(
e
,
te
)
return
te
:
GetOwnerPlayer
()
~=
e
:
GetOwnerPlayer
()
end
expansions/script/c65072005.lua
View file @
4482e31b
...
...
@@ -14,7 +14,7 @@ end
function
c65072005
.
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
,
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_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
...
...
@@ -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
()
if
tc
then
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
expansions/script/c65072006.lua
View file @
4482e31b
...
...
@@ -61,7 +61,7 @@ function c65072006.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
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
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
expansions/script/c65072007.lua
View file @
4482e31b
...
...
@@ -17,7 +17,7 @@ function c65072007.filter(c)
end
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
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
)
end
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)
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
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
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -99,4 +99,3 @@ function c65072008.operation(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
end
end
expansions/script/c65072009.lua
View file @
4482e31b
...
...
@@ -60,7 +60,7 @@ function c65072009.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
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
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
@@ -93,5 +93,3 @@ function c65072009.sop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
end
expansions/script/c65072010.lua
View file @
4482e31b
...
...
@@ -14,7 +14,7 @@ end
function
c65072010
.
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
,
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_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
...
...
expansions/script/c65072011.lua
View file @
4482e31b
...
...
@@ -60,7 +60,7 @@ function c65072011.cop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
code
=
tc
:
GetCode
()
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
())
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
...
...
expansions/script/c65072012.lua
View file @
4482e31b
...
...
@@ -14,7 +14,7 @@ end
function
c65072012
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
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
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
)
end
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)
token
:
RegisterEffect
(
e5
,
true
)
end
end
end
\ No newline at end of file
end
expansions/script/c65072013.lua
View file @
4482e31b
...
...
@@ -20,7 +20,7 @@ end
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
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
.
SelectTarget
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
65071999
)
end
...
...
@@ -46,4 +46,3 @@ function c65072013.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e5
)
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)
if
chkc
then
return
false
end
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
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
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c65072014
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
@@ -51,4 +51,4 @@ function c65072014.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
expansions/script/c65072017.lua
View file @
4482e31b
...
...
@@ -32,7 +32,7 @@ function c65072017.initial_effect(c)
end
function
c65072017
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
function
c65072017
.
val
(
e
,
c
)
local
tp
=
e
:
GetHandlerPlayer
()
...
...
@@ -89,4 +89,4 @@ end
function
c65072017
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
\ No newline at end of file
end
expansions/script/c65072018.lua
View file @
4482e31b
...
...
@@ -32,7 +32,7 @@ function c65072018.initial_effect(c)
end
function
c65072018
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
function
c65072018
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
()
==
e
:
GetHandler
()
...
...
expansions/script/c65072019.lua
View file @
4482e31b
...
...
@@ -20,7 +20,7 @@ end
function
c65072019
.
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
,
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_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
...
...
@@ -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
end
Duel
.
SpecialSummonComplete
()
end
\ No newline at end of file
end
expansions/script/c65072020.lua
View file @
4482e31b
...
...
@@ -17,7 +17,7 @@ end
function
c65072020
.
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
,
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_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
...
...
@@ -50,4 +50,4 @@ function c65072020.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
c65072020
.
splimit
(
e
,
c
)
return
not
c
:
IsCode
(
65071999
)
end
\ No newline at end of file
end
expansions/script/c65072021.lua
View file @
4482e31b
...
...
@@ -32,7 +32,7 @@ function c65072021.initial_effect(c)
end
function
c65072021
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
function
c65072021
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
...
...
@@ -101,4 +101,3 @@ function c65072021.tgop(e,tp,eg,ep,ev,re,r,rp)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
expansions/script/c65072022.lua
View file @
4482e31b
...
...
@@ -31,7 +31,7 @@ function c65072022.initial_effect(c)
end
function
c65072022
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
function
c65072022
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
()
==
Duel
.
GetAttacker
()
and
e
:
GetHandler
():
IsRelateToBattle
()
...
...
expansions/script/c65072023.lua
View file @
4482e31b
...
...
@@ -32,7 +32,7 @@ function c65072023.filter(c)
end
function
c65072023
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
)
end
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)
end
function
c65072025
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
function
c65072025
.
val
(
e
,
te
)
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)
end
function
c65072027
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
...
...
@@ -58,4 +58,4 @@ function c65072027.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
c65072027
.
splimit
(
e
,
c
)
return
not
c
:
IsCode
(
65071999
)
end
\ No newline at end of file
end
expansions/script/c65072028.lua
View file @
4482e31b
...
...
@@ -32,7 +32,7 @@ function c65072028.initial_effect(c)
end
function
c65072028
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
function
c65072028
.
distg
(
e
,
c
)
local
ec
=
e
:
GetHandler
()
...
...
expansions/script/c65072029.lua
View file @
4482e31b
...
...
@@ -32,7 +32,7 @@ function c65072029.initial_effect(c)
end
function
c65072029
.
music
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
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
function
c65072029
.
val
(
e
,
te
)
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)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
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