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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
38d4adee
Commit
38d4adee
authored
Oct 04, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strings
parent
927bc073
Pipeline
#868
passed with stage
in 16 minutes and 19 seconds
Changes
25
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
49 additions
and
49 deletions
+49
-49
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c82204241.lua
expansions/script/c82204241.lua
+2
-2
expansions/script/c82204242.lua
expansions/script/c82204242.lua
+1
-1
expansions/script/c82204243.lua
expansions/script/c82204243.lua
+1
-1
expansions/script/c82204244.lua
expansions/script/c82204244.lua
+1
-1
expansions/script/c82204245.lua
expansions/script/c82204245.lua
+1
-1
expansions/script/c82204246.lua
expansions/script/c82204246.lua
+2
-2
expansions/script/c82228600.lua
expansions/script/c82228600.lua
+3
-3
expansions/script/c82228601.lua
expansions/script/c82228601.lua
+2
-2
expansions/script/c82228602.lua
expansions/script/c82228602.lua
+1
-1
expansions/script/c82228603.lua
expansions/script/c82228603.lua
+2
-2
expansions/script/c82228604.lua
expansions/script/c82228604.lua
+2
-2
expansions/script/c82228605.lua
expansions/script/c82228605.lua
+1
-1
expansions/script/c82228606.lua
expansions/script/c82228606.lua
+2
-2
expansions/script/c82228607.lua
expansions/script/c82228607.lua
+2
-2
expansions/script/c82228608.lua
expansions/script/c82228608.lua
+2
-2
expansions/script/c82228609.lua
expansions/script/c82228609.lua
+2
-2
expansions/script/c82228610.lua
expansions/script/c82228610.lua
+3
-3
expansions/script/c82228611.lua
expansions/script/c82228611.lua
+2
-2
expansions/script/c82228612.lua
expansions/script/c82228612.lua
+2
-2
expansions/script/c82228613.lua
expansions/script/c82228613.lua
+2
-2
expansions/script/c82228614.lua
expansions/script/c82228614.lua
+3
-3
expansions/script/c82228615.lua
expansions/script/c82228615.lua
+3
-3
expansions/script/c82228616.lua
expansions/script/c82228616.lua
+1
-1
expansions/strings.conf
expansions/strings.conf
+6
-6
No files found.
expansions/222DIY.cdb
View file @
38d4adee
No preview for this file type
expansions/script/c82204241.lua
View file @
38d4adee
...
...
@@ -23,7 +23,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
1
299
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
c
299
)
and
c
:
IsAbleToHand
()
end
function
cm
.
shtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -38,7 +38,7 @@ function cm.shop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
repfilter1
(
c
,
tp
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
1
299
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
c
299
)
end
function
cm
.
repfilter2
(
c
,
tp
)
return
c
:
IsOnField
()
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
...
...
expansions/script/c82204242.lua
View file @
38d4adee
...
...
@@ -30,7 +30,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
1
299
)
and
not
(
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
c
299
)
and
not
(
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsAbleToHand
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c82204243.lua
View file @
38d4adee
...
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
1
299
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
c
299
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c82204244.lua
View file @
38d4adee
...
...
@@ -29,7 +29,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
1
299
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x
c
299
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToDeck
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
())
end
...
...
expansions/script/c82204245.lua
View file @
38d4adee
...
...
@@ -29,7 +29,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
1
299
)
and
c
:
IsFaceup
()
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x
c
299
)
and
c
:
IsFaceup
()
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToGrave
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
...
...
expansions/script/c82204246.lua
View file @
38d4adee
...
...
@@ -17,10 +17,10 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
1
299
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
return
c
:
IsSetCard
(
0x
c
299
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
end
function
cm
.
atkfilter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
1
299
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
c
299
)
end
function
cm
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
expansions/script/c82228600.lua
View file @
38d4adee
...
...
@@ -52,10 +52,10 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
cm
.
target
(
e
,
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
GetControler
()
==
e
:
GetHandler
():
GetControler
()
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
GetControler
()
==
e
:
GetHandler
():
GetControler
()
end
function
cm
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsSetCard
(
0x
1
298
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsSetCard
(
0x
c
298
)
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -68,7 +68,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsAbleToDeck
()
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
thfilter
(
chkc
)
end
...
...
expansions/script/c82228601.lua
View file @
38d4adee
...
...
@@ -36,7 +36,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSetCard
(
0x
1
298
)
return
e
:
GetHandler
():
IsSetCard
(
0x
c
298
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
@@ -59,7 +59,7 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
c
298
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
>
0
...
...
expansions/script/c82228602.lua
View file @
38d4adee
...
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSetCard
(
0x
1
298
)
return
e
:
GetHandler
():
IsSetCard
(
0x
c
298
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
expansions/script/c82228603.lua
View file @
38d4adee
...
...
@@ -33,7 +33,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
descon
(
e
)
return
not
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
1
298
)
return
not
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
c
298
)
end
function
cm
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_TRAP
)
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
...
...
@@ -43,7 +43,7 @@ function cm.mtcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
cm
.
mtfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
...
...
expansions/script/c82228604.lua
View file @
38d4adee
...
...
@@ -30,7 +30,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSetCard
(
0x
1
298
)
return
e
:
GetHandler
():
IsSetCard
(
0x
c
298
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
@@ -51,7 +51,7 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c82228605.lua
View file @
38d4adee
...
...
@@ -50,7 +50,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSetCard
(
0x
1
298
)
return
e
:
GetHandler
():
IsSetCard
(
0x
c
298
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
expansions/script/c82228606.lua
View file @
38d4adee
...
...
@@ -29,7 +29,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSetCard
(
0x
1
298
)
return
e
:
GetHandler
():
IsSetCard
(
0x
c
298
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
@@ -48,7 +48,7 @@ function cm.hdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
end
function
cm
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsDiscardable
()
end
function
cm
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
expansions/script/c82228607.lua
View file @
38d4adee
...
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSetCard
(
0x
1
298
)
return
e
:
GetHandler
():
IsSetCard
(
0x
c
298
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
@@ -49,7 +49,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
not
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
not
c
:
IsType
(
TYPE_XYZ
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
filter
(
chkc
,
e
,
tp
)
end
...
...
expansions/script/c82228608.lua
View file @
38d4adee
...
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
tdfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsAbleToDeck
()
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
tdfilter
(
chkc
)
end
...
...
@@ -57,7 +57,7 @@ end
function
cm
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsRelateToBattle
()
and
bc
and
bc
:
GetControler
()
~=
tp
and
bc
:
IsFaceup
()
and
bc
:
IsRelateToBattle
()
and
not
(
bc
:
GetAttack
()
==
0
and
bc
:
GetDefense
()
==
0
and
(
bc
:
IsDisabled
()
or
not
bc
:
IsType
(
TYPE_EFFECT
)))
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsRelateToBattle
()
and
bc
and
bc
:
GetControler
()
~=
tp
and
bc
:
IsFaceup
()
and
bc
:
IsRelateToBattle
()
and
not
(
bc
:
GetAttack
()
==
0
and
bc
:
GetDefense
()
==
0
and
(
bc
:
IsDisabled
()
or
not
bc
:
IsType
(
TYPE_EFFECT
)))
end
function
cm
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c82228609.lua
View file @
38d4adee
...
...
@@ -33,7 +33,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
descon
(
e
)
return
not
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
1
298
)
return
not
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
c
298
)
end
function
cm
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_SPELL
)
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
...
...
@@ -43,7 +43,7 @@ function cm.mtcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
cm
.
mtfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
...
...
expansions/script/c82228610.lua
View file @
38d4adee
...
...
@@ -30,7 +30,7 @@ function cm.initial_effect(c)
end
function
cm
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsSetCard
(
0x
1
298
)
and
Duel
.
IsAbleToEnterBP
()
return
c
:
IsSetCard
(
0x
c
298
)
and
Duel
.
IsAbleToEnterBP
()
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
@@ -54,7 +54,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -78,5 +78,5 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
return
not
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
\ No newline at end of file
expansions/script/c82228611.lua
View file @
38d4adee
...
...
@@ -33,7 +33,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
descon
(
e
)
return
not
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
1
298
)
return
not
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
c
298
)
end
function
cm
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_MONSTER
)
and
te
:
GetOwnerPlayer
()
~=
e
:
GetHandlerPlayer
()
...
...
@@ -43,7 +43,7 @@ function cm.mtcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
cm
.
mtfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
...
...
expansions/script/c82228612.lua
View file @
38d4adee
...
...
@@ -31,7 +31,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSetCard
(
0x
1
298
)
return
e
:
GetHandler
():
IsSetCard
(
0x
c
298
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
@@ -98,7 +98,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsType
(
TYPE_XYZ
)
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
expansions/script/c82228613.lua
View file @
38d4adee
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -40,5 +40,5 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsSetCard
(
0x
1
298
)
return
not
c
:
IsSetCard
(
0x
c
298
)
end
\ No newline at end of file
expansions/script/c82228614.lua
View file @
38d4adee
...
...
@@ -25,10 +25,10 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
tgfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0x
1
298
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0x
c
298
)
end
function
cm
.
matfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
1
298
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
c
298
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
tgfilter
(
chkc
)
end
...
...
@@ -52,7 +52,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
2
,
REASON_COST
)
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c82228615.lua
View file @
38d4adee
...
...
@@ -25,10 +25,10 @@ function cm.initial_effect(c)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
xyzfilter
(
c
,
mg
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsXyzSummonable
(
mg
,
2
,
2
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsXyzSummonable
(
mg
,
2
,
2
)
end
function
cm
.
mfilter1
(
c
,
mg
,
exg
)
return
mg
:
IsExists
(
cm
.
mfilter2
,
1
,
c
,
c
,
exg
)
...
...
@@ -82,7 +82,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
repfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
IsSetCard
(
0x
1
298
)
return
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
IsSetCard
(
0x
c
298
)
end
function
cm
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToDeck
()
and
eg
:
IsExists
(
cm
.
repfilter
,
1
,
nil
,
tp
)
end
...
...
expansions/script/c82228616.lua
View file @
38d4adee
...
...
@@ -36,7 +36,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_DISCARD
+
REASON_COST
,
nil
)
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
298
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
m
)
return
c
:
IsSetCard
(
0x
c
298
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
m
)
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/strings.conf
View file @
38d4adee
...
...
@@ -293,10 +293,10 @@
#REIKAI 2404873791 161 0xcc0-0xccf
!
setname
0
xcc3
Mystic
#setname 0x1cc3 MysticElement
#setname 0x3cc3 MysticGate
#setname 0x5cc3 MysticDragon
#setname 0xacc3 Mystic探究者
!
setname
0
x3cc3
MysticGate
!
setname
0
x5cc3
MysticDragon
!
setname
0
xacc3
Mystic
探究者
!
setname
0
xccc3
MysticElement
!
setname
0
xcc4
叛教的
!
setname
0
xcca
异种
!
setname
0
xccb
天界
...
...
@@ -779,11 +779,11 @@
!
setname
0
x295
神迹
!
setname
0
x296
幻晶兽
!
setname
0
x297
亡灵舰队
!
setname
0
x
1
298
荒兽
!
setname
0
x
c
298
荒兽
!
setname
0
x3298
堕世魔镜
!
setname
0
x5298
时之行者
!
setname
0
x6298
虚妄灵
!
setname
0
x
1
299
妖狐
!
setname
0
x
c
299
妖狐
!
setname
0
x5299
小红帽
!
setname
0
x29b
界王
!
setname
0
x29c
邪界幻灵
...
...
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