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
9480ce56
Commit
9480ce56
authored
Sep 20, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:purerosefallen/ygopro-222DIY-cards
parents
496647d7
fd9a8a78
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
30 additions
and
26 deletions
+30
-26
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c11200001.lua
expansions/script/c11200001.lua
+2
-2
expansions/script/c11200002.lua
expansions/script/c11200002.lua
+1
-1
expansions/script/c11200003.lua
expansions/script/c11200003.lua
+2
-2
expansions/script/c11200004.lua
expansions/script/c11200004.lua
+1
-1
expansions/script/c11200005.lua
expansions/script/c11200005.lua
+3
-3
expansions/script/c11200006.lua
expansions/script/c11200006.lua
+5
-5
expansions/script/c11200007.lua
expansions/script/c11200007.lua
+2
-2
expansions/script/c11200009.lua
expansions/script/c11200009.lua
+2
-2
expansions/script/c11200010.lua
expansions/script/c11200010.lua
+1
-1
expansions/script/c11200011.lua
expansions/script/c11200011.lua
+1
-1
expansions/script/c11200012.lua
expansions/script/c11200012.lua
+4
-4
expansions/script/c1156015.lua
expansions/script/c1156015.lua
+4
-1
expansions/strings.conf
expansions/strings.conf
+2
-1
No files found.
expansions/222DIY.cdb
View file @
9480ce56
No preview for this file type
expansions/script/c11200001.lua
View file @
9480ce56
...
@@ -29,7 +29,7 @@ function c11200001.filter(c)
...
@@ -29,7 +29,7 @@ function c11200001.filter(c)
return
c11200001
.
mfilter
(
c
)
and
c
:
IsAbleToHand
()
return
c11200001
.
mfilter
(
c
)
and
c
:
IsAbleToHand
()
end
end
function
c11200001
.
mfilter
(
c
)
function
c11200001
.
mfilter
(
c
)
return
c
:
IsSetCard
(
0x
134
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsType
(
TYPE_RITUAL
)
return
c
:
IsSetCard
(
0x
62f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsType
(
TYPE_RITUAL
)
end
end
function
c11200001
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11200001
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11200001
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11200001
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
@@ -50,7 +50,7 @@ function c11200001.lrcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function c11200001.lrcon(e,tp,eg,ep,ev,re,r,rp)
if
lp
<=
ev
then
return
false
end
if
lp
<=
ev
then
return
false
end
if
not
re
then
return
false
end
if
not
re
then
return
false
end
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsSetCard
(
0x
134
)
and
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
return
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsSetCard
(
0x
62f
)
and
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
end
function
c11200001
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11200001
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
...
...
expansions/script/c11200002.lua
View file @
9480ce56
...
@@ -36,7 +36,7 @@ function c11200002.lrcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,7 +36,7 @@ function c11200002.lrcon(e,tp,eg,ep,ev,re,r,rp)
if
lp
<=
ev
then
return
false
end
if
lp
<=
ev
then
return
false
end
if
not
re
then
return
false
end
if
not
re
then
return
false
end
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsSetCard
(
0x
134
)
and
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
return
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsSetCard
(
0x
62f
)
and
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
end
function
c11200002
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11200002
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
...
...
expansions/script/c11200003.lua
View file @
9480ce56
...
@@ -26,7 +26,7 @@ function c11200003.tgcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -26,7 +26,7 @@ function c11200003.tgcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
end
function
c11200003
.
tgfilter
(
c
)
function
c11200003
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0x
134
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x
62f
)
and
c
:
IsAbleToGrave
()
end
end
function
c11200003
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11200003
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11200003
.
tgfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11200003
.
tgfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
...
@@ -47,7 +47,7 @@ function c11200003.lrcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c11200003.lrcon(e,tp,eg,ep,ev,re,r,rp)
if
lp
<=
ev
then
return
false
end
if
lp
<=
ev
then
return
false
end
if
not
re
then
return
false
end
if
not
re
then
return
false
end
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
return
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsSetCard
(
0x
134
)
and
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
return
rc
:
IsLocation
(
LOCATION_MZONE
)
and
rc
:
IsSetCard
(
0x
62f
)
and
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
end
function
c11200003
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11200003
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
...
...
expansions/script/c11200004.lua
View file @
9480ce56
...
@@ -47,7 +47,7 @@ function c11200004.ffilter(c,fc)
...
@@ -47,7 +47,7 @@ function c11200004.ffilter(c,fc)
return
c11200004
.
ffilter1
(
c
,
fc
)
or
c11200004
.
ffilter2
(
c
,
fc
)
return
c11200004
.
ffilter1
(
c
,
fc
)
or
c11200004
.
ffilter2
(
c
,
fc
)
end
end
function
c11200004
.
ffilter1
(
c
,
fc
)
function
c11200004
.
ffilter1
(
c
,
fc
)
return
c
:
IsFusionSetCard
(
0x
134
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
return
c
:
IsFusionSetCard
(
0x
62f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
end
end
function
c11200004
.
ffilter2
(
c
,
fc
)
function
c11200004
.
ffilter2
(
c
,
fc
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
...
...
expansions/script/c11200005.lua
View file @
9480ce56
...
@@ -56,7 +56,7 @@ function c11200005.initial_effect(c)
...
@@ -56,7 +56,7 @@ function c11200005.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c11200005
.
ovfilter
(
c
)
function
c11200005
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
134
)
and
c
:
IsType
(
TYPE_FUSION
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
62f
)
and
c
:
IsType
(
TYPE_FUSION
)
end
end
function
c11200005
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11200005
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
...
@@ -133,7 +133,7 @@ function c11200005.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -133,7 +133,7 @@ function c11200005.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c11200005
.
desfilter
(
c
)
function
c11200005
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
134
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
62f
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
end
function
c11200005
.
flcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11200005
.
flcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
...
@@ -146,5 +146,5 @@ end
...
@@ -146,5 +146,5 @@ end
function
c11200005
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11200005
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
tp
==
Duel
.
GetTurnPlayer
()
then
return
false
end
if
tp
==
Duel
.
GetTurnPlayer
()
then
return
false
end
local
tc
=
Duel
.
GetAttackTarget
()
local
tc
=
Duel
.
GetAttackTarget
()
return
tc
and
tc
:
IsFaceup
()
and
tc
:
IsSetCard
(
0x
134
)
return
tc
and
tc
:
IsFaceup
()
and
tc
:
IsSetCard
(
0x
62f
)
end
end
\ No newline at end of file
expansions/script/c11200006.lua
View file @
9480ce56
...
@@ -53,10 +53,10 @@ function c11200006.ffilter(c,fc)
...
@@ -53,10 +53,10 @@ function c11200006.ffilter(c,fc)
return
c11200006
.
ffilter1
(
c
,
fc
)
or
c11200006
.
ffilter2
(
c
,
fc
)
return
c11200006
.
ffilter1
(
c
,
fc
)
or
c11200006
.
ffilter2
(
c
,
fc
)
end
end
function
c11200006
.
ffilter1
(
c
,
fc
)
function
c11200006
.
ffilter1
(
c
,
fc
)
return
c
:
IsFusionSetCard
(
0x
134
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
return
c
:
IsFusionSetCard
(
0x
62f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
end
end
function
c11200006
.
ffilter2
(
c
,
fc
)
function
c11200006
.
ffilter2
(
c
,
fc
)
return
c
:
IsFusionSetCard
(
0x
134
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
return
c
:
IsFusionSetCard
(
0x
62f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
end
end
function
c11200006
.
spfilter1
(
c
,
tp
,
mg
,
fc
)
function
c11200006
.
spfilter1
(
c
,
tp
,
mg
,
fc
)
return
mg
:
IsExists
(
c11200006
.
spfilter2
,
1
,
c
,
tp
,
c
,
fc
)
return
mg
:
IsExists
(
c11200006
.
spfilter2
,
1
,
c
,
tp
,
c
,
fc
)
...
@@ -145,14 +145,14 @@ end
...
@@ -145,14 +145,14 @@ end
Duel
.
SetFusionMaterial
(
g
)
Duel
.
SetFusionMaterial
(
g
)
end
end
function
c11200006
.
rfilter
(
c
,
fc
)
function
c11200006
.
rfilter
(
c
,
fc
)
return
(
c
:
IsFusionSetCard
(
0x
134
)
or
c
:
IsRace
(
RACE_SPELLCASTER
))
and
c
:
IsCanBeFusionMaterial
(
fc
)
return
(
c
:
IsFusionSetCard
(
0x
62f
)
or
c
:
IsRace
(
RACE_SPELLCASTER
))
and
c
:
IsCanBeFusionMaterial
(
fc
)
end
end
function
c11200006
.
rfilter1
(
c
,
tp
,
g
)
function
c11200006
.
rfilter1
(
c
,
tp
,
g
)
return
g
:
IsExists
(
c11200006
.
spfilter2
,
1
,
c
,
tp
,
c
)
return
g
:
IsExists
(
c11200006
.
spfilter2
,
1
,
c
,
tp
,
c
)
end
end
function
c11200006
.
rfilter2
(
c
,
tp
,
mc
)
function
c11200006
.
rfilter2
(
c
,
tp
,
mc
)
return
((
c
:
IsFusionSetCard
(
0x
134
)
and
mc
:
IsRace
(
RACE_SPELLCASTER
))
or
return
((
c
:
IsFusionSetCard
(
0x
62f
)
and
mc
:
IsRace
(
RACE_SPELLCASTER
))
or
(
mc
:
IsFusionSetCard
(
0x
134
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)))
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
Group
.
FromCards
(
c
,
mc
))
>
0
(
mc
:
IsFusionSetCard
(
0x
62f
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)))
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
Group
.
FromCards
(
c
,
mc
))
>
0
end
end
function
c11200006
.
spcon
(
e
,
c
)
function
c11200006
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
expansions/script/c11200007.lua
View file @
9480ce56
...
@@ -31,7 +31,7 @@ function c11200007.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c11200007.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c11200007
.
splimit
(
e
,
se
,
sp
,
st
)
function
c11200007
.
splimit
(
e
,
se
,
sp
,
st
)
return
se
:
GetHandler
():
IsSetCard
(
0x
134
)
return
se
:
GetHandler
():
IsSetCard
(
0x
62f
)
end
end
function
c11200007
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11200007
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
@@ -88,7 +88,7 @@ function c11200007.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,7 +88,7 @@ function c11200007.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c11200007
.
spfilter
(
c
,
e
,
tp
)
function
c11200007
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
134
)
and
not
c
:
IsType
(
TYPE_RITUAL
)
return
c
:
IsSetCard
(
0x
62f
)
and
not
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
function
c11200007
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11200007
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c11200009.lua
View file @
9480ce56
...
@@ -32,7 +32,7 @@ function c11200009.ffilter(c,fc)
...
@@ -32,7 +32,7 @@ function c11200009.ffilter(c,fc)
return
c11200009
.
ffilter1
(
c
,
fc
)
or
c11200009
.
ffilter2
(
c
,
fc
)
return
c11200009
.
ffilter1
(
c
,
fc
)
or
c11200009
.
ffilter2
(
c
,
fc
)
end
end
function
c11200009
.
ffilter1
(
c
,
fc
)
function
c11200009
.
ffilter1
(
c
,
fc
)
return
c
:
IsFusionSetCard
(
0x
134
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
return
c
:
IsFusionSetCard
(
0x
62f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
end
end
function
c11200009
.
ffilter2
(
c
,
fc
)
function
c11200009
.
ffilter2
(
c
,
fc
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
...
@@ -151,7 +151,7 @@ function c11200009.filter1(c,e)
...
@@ -151,7 +151,7 @@ function c11200009.filter1(c,e)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c11200009
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
gc
,
chkf
)
function
c11200009
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
gc
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x
134
)
and
(
not
f
or
f
(
c
))
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x
62f
)
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
gc
,
chkf
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
gc
,
chkf
)
end
end
function
c11200009
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11200009
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c11200010.lua
View file @
9480ce56
...
@@ -43,7 +43,7 @@ function c11200010.mfilterf(c,tp,mg,rc)
...
@@ -43,7 +43,7 @@ function c11200010.mfilterf(c,tp,mg,rc)
else
return
false
end
else
return
false
end
end
end
function
c11200010
.
mfilter
(
c
)
function
c11200010
.
mfilter
(
c
)
return
c
:
GetLevel
()
>
0
and
c
:
IsSetCard
(
0x
134
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
return
c
:
GetLevel
()
>
0
and
c
:
IsSetCard
(
0x
62f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
end
function
c11200010
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11200010
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
expansions/script/c11200011.lua
View file @
9480ce56
...
@@ -24,7 +24,7 @@ function c11200011.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c11200011.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c11200011
.
merfilter
(
c
)
function
c11200011
.
merfilter
(
c
)
return
c
:
IsSetCard
(
0x
134
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x
62f
)
and
c
:
IsFaceup
()
end
end
function
c11200011
.
mertg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c11200011
.
mertg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c11200011
.
merfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c11200011
.
merfilter
(
chkc
)
end
...
...
expansions/script/c11200012.lua
View file @
9480ce56
...
@@ -25,13 +25,13 @@ function c11200012.initial_effect(c)
...
@@ -25,13 +25,13 @@ function c11200012.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c11200012
.
filter
(
c
)
function
c11200012
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
134
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x
62f
)
and
c
:
IsAbleToGrave
()
end
end
function
c11200012
.
filter2
(
c
)
function
c11200012
.
filter2
(
c
)
return
c
:
IsSetCard
(
0x
134
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x
62f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
end
end
function
c11200012
.
filter3
(
c
)
function
c11200012
.
filter3
(
c
)
return
c
:
IsSetCard
(
0x
134
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x
62f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
end
end
function
c11200012
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11200012
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
GetMatchingGroup
(
c11200012
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
local
b1
=
Duel
.
GetMatchingGroup
(
c11200012
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
...
@@ -66,7 +66,7 @@ function c11200012.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -66,7 +66,7 @@ function c11200012.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
c11200012
.
atkfilter
(
c
)
function
c11200012
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
134
)
and
c
:
GetAttack
()
>
0
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
62f
)
and
c
:
GetAttack
()
>
0
end
end
function
c11200012
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c11200012
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c11200012
.
atkfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c11200012
.
atkfilter
(
chkc
)
end
...
...
expansions/script/c1156015.lua
View file @
9480ce56
...
@@ -47,12 +47,15 @@ function c1156015.initial_effect(c)
...
@@ -47,12 +47,15 @@ function c1156015.initial_effect(c)
--
--
end
end
--
--
function
c1156015
.
chnfilter
(
c
)
return
c
:
GetOriginalCode
()
==
77765004
and
not
c
:
IsDisabled
()
end
function
c1156015
.
lkfilter
(
c
,
lc
,
tp
)
function
c1156015
.
lkfilter
(
c
,
lc
,
tp
)
local
flag
=
c
:
IsFaceup
()
and
c
:
IsCanBeLinkMaterial
(
lc
)
local
flag
=
c
:
IsFaceup
()
and
c
:
IsCanBeLinkMaterial
(
lc
)
if
c
:
IsType
(
TYPE_MONSTER
)
then
if
c
:
IsType
(
TYPE_MONSTER
)
then
return
flag
and
c
:
IsRace
(
RACE_SPELLCASTER
)
return
flag
and
c
:
IsRace
(
RACE_SPELLCASTER
)
else
else
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SPELL
)
and
not
c
:
IsHasEffect
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SPELL
)
and
not
Duel
.
IsExistingMatchingCard
(
c1156015
.
cknfilter
,
tp
,
0
,
LOCATION_SZONE
,
1
,
nil
)
end
end
end
end
function
c1156015
.
lvfilter
(
c
)
function
c1156015
.
lvfilter
(
c
)
...
...
expansions/strings.conf
View file @
9480ce56
...
@@ -91,8 +91,9 @@
...
@@ -91,8 +91,9 @@
!
setname
0
x215e
御龙骑
!
setname
0
x215e
御龙骑
!
setname
0
xa15e
御龙骑士
!
setname
0
xa15e
御龙骑士
#xig 112 0x620-0x62
1
#xig 112 0x620-0x62
f
!
setname
0
x621
因幡帝
!
setname
0
x621
因幡帝
!
setname
0
x62f
美树沙耶加
#xig_ihs_0x132 铃仙·优昙华院·因幡记述
#xig_ihs_0x132 铃仙·优昙华院·因幡记述
#xig_ihs_0x133 因幡帝记述
#xig_ihs_0x133 因幡帝记述
...
...
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