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
d6597186
Commit
d6597186
authored
Nov 16, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
7f356929
Changes
29
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
59 additions
and
63 deletions
+59
-63
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c11115000.lua
expansions/script/c11115000.lua
+2
-2
expansions/script/c11115001.lua
expansions/script/c11115001.lua
+2
-2
expansions/script/c11115002.lua
expansions/script/c11115002.lua
+4
-4
expansions/script/c11115003.lua
expansions/script/c11115003.lua
+2
-2
expansions/script/c11115005.lua
expansions/script/c11115005.lua
+1
-1
expansions/script/c11115008.lua
expansions/script/c11115008.lua
+3
-3
expansions/script/c11115009.lua
expansions/script/c11115009.lua
+2
-2
expansions/script/c11115010.lua
expansions/script/c11115010.lua
+2
-2
expansions/script/c11115011.lua
expansions/script/c11115011.lua
+1
-1
expansions/script/c11115012.lua
expansions/script/c11115012.lua
+2
-2
expansions/script/c11115013.lua
expansions/script/c11115013.lua
+2
-2
expansions/script/c11115014.lua
expansions/script/c11115014.lua
+1
-1
expansions/script/c11115015.lua
expansions/script/c11115015.lua
+2
-2
expansions/script/c11115016.lua
expansions/script/c11115016.lua
+2
-2
expansions/script/c11115017.lua
expansions/script/c11115017.lua
+1
-1
expansions/script/c11115018.lua
expansions/script/c11115018.lua
+2
-2
expansions/script/c11115019.lua
expansions/script/c11115019.lua
+3
-3
expansions/script/c11115020.lua
expansions/script/c11115020.lua
+3
-3
expansions/script/c11115021.lua
expansions/script/c11115021.lua
+6
-6
expansions/script/c33700720.lua
expansions/script/c33700720.lua
+2
-2
expansions/script/c33700724.lua
expansions/script/c33700724.lua
+1
-1
expansions/script/c33700725.lua
expansions/script/c33700725.lua
+1
-1
expansions/script/c33700726.lua
expansions/script/c33700726.lua
+1
-1
expansions/script/c33700727.lua
expansions/script/c33700727.lua
+2
-2
expansions/script/c33700730.lua
expansions/script/c33700730.lua
+1
-1
expansions/script/c33700731.lua
expansions/script/c33700731.lua
+1
-1
expansions/script/c33700732.lua
expansions/script/c33700732.lua
+3
-3
expansions/strings.conf
expansions/strings.conf
+4
-8
No files found.
expansions/222DIY.cdb
View file @
d6597186
No preview for this file type
expansions/script/c11115000.lua
View file @
d6597186
...
...
@@ -32,7 +32,7 @@ function c11115000.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c11115000
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
2
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c11115000
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11115000
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -52,7 +52,7 @@ end
function
c11115000
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
r
==
REASON_SYNCHRO
and
re
:
GetHandler
():
IsSetCard
(
0x
a
b5e
)
and
re
:
GetHandler
():
IsSetCard
(
0x
3
b5e
)
end
function
c11115000
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11115000
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c11115001.lua
View file @
d6597186
...
...
@@ -18,10 +18,10 @@ function c11115001.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c11115001
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
end
function
c11115001
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
end
function
c11115001
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
expansions/script/c11115002.lua
View file @
d6597186
--黑之御龙骑士
function
c11115002
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
1b5e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x2
b5e
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
6b5e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x1
b5e
),
1
)
c
:
EnableReviveLimit
()
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -32,14 +32,14 @@ function c11115002.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c11115002
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToHand
()
end
function
c11115002
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11115002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c11115002
.
sumfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsSummonable
(
true
,
nil
)
return
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsSummonable
(
true
,
nil
)
end
function
c11115002
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
@@ -60,7 +60,7 @@ function c11115002.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
c11115002
.
cfilter
(
c
,
tp
,
rp
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_SYNCHRO
)
~=
0
and
c
:
IsPreviousSetCard
(
0x
a
b5e
)
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
~=
tp
and
c
:
IsReason
(
REASON_EFFECT
)))
and
c
:
IsPreviousSetCard
(
0x
3
b5e
)
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
~=
tp
and
c
:
IsReason
(
REASON_EFFECT
)))
end
function
c11115002
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c11115002
.
cfilter
,
1
,
nil
,
tp
,
rp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
...
...
expansions/script/c11115003.lua
View file @
d6597186
...
...
@@ -40,14 +40,14 @@ function c11115003.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c11115003
.
extg
(
e
,
c
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsSetCard
(
0x
1
b5e
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsSetCard
(
0x
6
b5e
)
end
function
c11115003
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_FZONE
)
end
function
c11115003
.
spfilter
(
c
,
e
,
tp
,
ft
)
return
((
c
:
IsSetCard
(
0x
1b5e
)
and
c
:
IsType
(
TYPE_TUNER
))
or
(
c
:
IsSetCard
(
0x2
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)))
return
((
c
:
IsSetCard
(
0x
6b5e
)
and
c
:
IsType
(
TYPE_TUNER
))
or
(
c
:
IsSetCard
(
0x1
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)))
and
(
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)))
end
function
c11115003
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c11115005.lua
View file @
d6597186
...
...
@@ -21,7 +21,7 @@ function c11115005.tdfilter(c,tc)
return
c
:
GetEquipTarget
()
~=
tc
and
c
:
IsAbleToDeck
()
end
function
c11115005
.
costfilter
(
c
)
if
not
(
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsSetCard
(
0x
a
b5e
))
then
return
false
end
if
not
(
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsSetCard
(
0x
3
b5e
))
then
return
false
end
return
Duel
.
IsExistingTarget
(
c11115005
.
tdfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
,
c
)
end
function
c11115005
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c11115008.lua
View file @
d6597186
...
...
@@ -29,16 +29,16 @@ function c11115008.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c11115008
.
lcheck
(
g
,
lc
)
return
g
:
IsExists
(
c11115008
.
lfilter
,
1
,
nil
)
and
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
2
b5e
)
return
g
:
IsExists
(
c11115008
.
lfilter
,
1
,
nil
)
and
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x
1
b5e
)
end
function
c11115008
.
lfilter
(
c
)
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
return
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
end
function
c11115008
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
c11115008
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c11115008
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
...
...
expansions/script/c11115009.lua
View file @
d6597186
...
...
@@ -32,7 +32,7 @@ function c11115009.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c11115009
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
2
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c11115009
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11115009
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -49,7 +49,7 @@ end
function
c11115009
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
r
==
REASON_SYNCHRO
and
re
:
GetHandler
():
IsSetCard
(
0x
a
b5e
)
and
re
:
GetHandler
():
IsSetCard
(
0x
3
b5e
)
end
function
c11115009
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsAbleToHand
()
end
...
...
expansions/script/c11115010.lua
View file @
d6597186
...
...
@@ -18,10 +18,10 @@ function c11115010.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c11115010
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
end
function
c11115010
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
end
function
c11115010
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
expansions/script/c11115011.lua
View file @
d6597186
--赤之御龙骑士
function
c11115011
.
initial_effect
(
c
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
1b5e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x2
b5e
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
6b5e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x1
b5e
),
1
)
c
:
EnableReviveLimit
()
--negate
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c11115012.lua
View file @
d6597186
...
...
@@ -32,7 +32,7 @@ function c11115012.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c11115012
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
2
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c11115012
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11115012
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -49,7 +49,7 @@ end
function
c11115012
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
r
==
REASON_SYNCHRO
and
re
:
GetHandler
():
IsSetCard
(
0x
a
b5e
)
and
re
:
GetHandler
():
IsSetCard
(
0x
3
b5e
)
end
function
c11115012
.
tgfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
expansions/script/c11115013.lua
View file @
d6597186
...
...
@@ -18,10 +18,10 @@ function c11115013.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c11115013
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
end
function
c11115013
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
end
function
c11115013
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
expansions/script/c11115014.lua
View file @
d6597186
--岚之御龙骑士
function
c11115014
.
initial_effect
(
c
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
1b5e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x2
b5e
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
6b5e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x1
b5e
),
1
)
c
:
EnableReviveLimit
()
--negate
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c11115015.lua
View file @
d6597186
...
...
@@ -32,7 +32,7 @@ function c11115015.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c11115015
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
2
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c11115015
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c11115015
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -49,7 +49,7 @@ end
function
c11115015
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
r
==
REASON_SYNCHRO
and
re
:
GetHandler
():
IsSetCard
(
0x
a
b5e
)
and
re
:
GetHandler
():
IsSetCard
(
0x
3
b5e
)
end
function
c11115015
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
...
...
expansions/script/c11115016.lua
View file @
d6597186
...
...
@@ -18,10 +18,10 @@ function c11115016.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c11115016
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
end
function
c11115016
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
end
function
c11115016
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
expansions/script/c11115017.lua
View file @
d6597186
--恶之御龙骑士
function
c11115017
.
initial_effect
(
c
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
1b5e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x2
b5e
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
6b5e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x1
b5e
),
1
)
c
:
EnableReviveLimit
()
--search destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c11115018.lua
View file @
d6597186
--苍之御龙骑士王
function
c11115018
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroMixProcedure
(
c
,
aux
.
Tuner
(
Card
.
IsSetCard
,
0x
1b5e
),
aux
.
Tuner
(
Card
.
IsSetCard
,
0x1
b5e
),
nil
,
aux
.
NonTuner
(
c11115018
.
sfilter
),
1
,
1
)
aux
.
AddSynchroMixProcedure
(
c
,
aux
.
Tuner
(
Card
.
IsSetCard
,
0x
6b5e
),
aux
.
Tuner
(
Card
.
IsSetCard
,
0x6
b5e
),
nil
,
aux
.
NonTuner
(
c11115018
.
sfilter
),
1
,
1
)
c
:
EnableReviveLimit
()
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -61,7 +61,7 @@ function c11115018.initial_effect(c)
end
c11115018
.
material_type
=
TYPE_SYNCHRO
function
c11115018
.
sfilter
(
c
)
return
c
:
IsSetCard
(
0x
a
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsSetCard
(
0x
3
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
end
function
c11115018
.
aclimit1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
ep
~=
tp
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
end
...
...
expansions/script/c11115019.lua
View file @
d6597186
...
...
@@ -40,10 +40,10 @@ function c11115019.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c11115019
.
spfilter1
(
c
,
tp
,
sc
)
return
c
:
IsSetCard
(
0x
a
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
sc
)
>
0
return
c
:
IsSetCard
(
0x
3
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsControler
(
tp
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
sc
)
>
0
end
function
c11115019
.
spfilter2
(
c
)
return
c
:
IsSetCard
(
0x
a
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x
3
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c11115019
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
@@ -65,7 +65,7 @@ function c11115019.spop(e,tp,eg,ep,ev,re,r,rp,c)
end
end
function
c11115019
.
lvfilter
(
c
)
return
c
:
IsSetCard
(
0x
2
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasableByEffect
()
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasableByEffect
()
end
function
c11115019
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c11115019
.
lvfilter
,
1
,
e
:
GetHandler
())
end
...
...
expansions/script/c11115020.lua
View file @
d6597186
...
...
@@ -34,13 +34,13 @@ function c11115020.initial_effect(c)
end
c11115020
.
material_type
=
TYPE_SYNCHRO
function
c11115020
.
sfilter1
(
c
)
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
end
function
c11115020
.
sfilter2
(
c
)
return
c
:
IsSetCard
(
0x
a
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsSetCard
(
0x
3
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
end
function
c11115020
.
mfilter
(
c
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsSetCard
(
0x
1
b5e
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsSetCard
(
0x
6
b5e
)
end
function
c11115020
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
...
...
expansions/script/c11115021.lua
View file @
d6597186
...
...
@@ -35,25 +35,25 @@ function c11115021.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return
not
c
:
IsSetCard
(
0xb5e
)
end
function
c11115021
.
rmfilter1
(
c
,
tp
)
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToRemoveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c11115021
.
rmfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
)
end
function
c11115021
.
rmfilter2
(
c
)
return
c
:
IsSetCard
(
0x
2
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x
1
b5e
)
and
not
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c11115021
.
rmfilter3
(
c
,
tp
)
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c11115021
.
rmfilter4
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
,
tp
)
end
function
c11115021
.
rmfilter4
(
c
,
tp
)
return
c
:
IsSetCard
(
0x
1
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x
6
b5e
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToRemoveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c11115021
.
rmfilter5
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c11115021
.
rmfilter5
(
c
)
return
c
:
IsSetCard
(
0x
a
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x
3
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c11115021
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
a
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsSetCard
(
0x
3
b5e
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c11115021
.
spfilter2
(
c
,
e
,
tp
)
...
...
expansions/script/c33700720.lua
View file @
d6597186
...
...
@@ -60,7 +60,7 @@ end
function
rsneov
.
LPcheckop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
rsneov
.
LPTbl
[
ep
]
=
rsneov
.
LPTbl
[
ep
]
+
ev
local
rc
=
re
:
GetHandler
()
if
rc
:
IsSetCard
(
0x44e
)
then
if
rc
:
IsSetCard
(
0x
2
44e
)
then
rsneov
.
LPTbl
[
ep
+
2
]
=
rsneov
.
LPTbl
[
ep
+
2
]
+
ev
end
end
...
...
@@ -123,7 +123,7 @@ function cm.initial_effect(c)
rsneov
.
LPChangeFun
(
c
)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x44e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
2
44e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c33700724.lua
View file @
d6597186
...
...
@@ -16,7 +16,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
rfilter
(
c
)
return
c
:
IsReleasableByEffect
()
and
c
:
GetTextDefense
()
>
0
and
c
:
IsSetCard
(
0x44e
)
return
c
:
IsReleasableByEffect
()
and
c
:
GetTextDefense
()
>
0
and
c
:
IsSetCard
(
0x
2
44e
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
rfilter
,
1
,
nil
)
end
...
...
expansions/script/c33700725.lua
View file @
d6597186
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x44e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
2
44e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c33700726.lua
View file @
d6597186
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x44e
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
2
44e
)
and
c
:
IsAbleToHand
()
end
function
cm
.
target
(
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/c33700727.lua
View file @
d6597186
...
...
@@ -51,8 +51,8 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
if
phase
~=
PHASE_DAMAGE
or
Duel
.
IsDamageCalculated
()
then
return
false
end
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
return
d
~=
nil
and
d
:
IsFaceup
()
and
((
a
:
GetControler
()
==
tp
and
a
:
IsSetCard
(
0x44e
)
and
a
:
IsRelateToBattle
())
or
(
d
:
GetControler
()
==
tp
and
d
:
IsSetCard
(
0x44e
)
and
d
:
IsRelateToBattle
()))
return
d
~=
nil
and
d
:
IsFaceup
()
and
((
a
:
GetControler
()
==
tp
and
a
:
IsSetCard
(
0x
2
44e
)
and
a
:
IsRelateToBattle
())
or
(
d
:
GetControler
()
==
tp
and
d
:
IsSetCard
(
0x
2
44e
)
and
d
:
IsRelateToBattle
()))
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
and
Duel
.
CheckLPCost
(
tp
,
1000
)
end
...
...
expansions/script/c33700730.lua
View file @
d6597186
...
...
@@ -4,7 +4,7 @@ local m=33700730
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure2
(
c
,
nil
,
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x
44e
),
1
)
aux
.
AddSynchroProcedure2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x244e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x2
44e
),
1
)
c
:
EnableReviveLimit
()
--indes
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c33700731.lua
View file @
d6597186
...
...
@@ -4,7 +4,7 @@ local m=33700731
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure2
(
c
,
nil
,
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x
44e
),
1
)
aux
.
AddSynchroProcedure2
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x244e
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x2
44e
),
1
)
c
:
EnableReviveLimit
()
--indes
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c33700732.lua
View file @
d6597186
...
...
@@ -14,7 +14,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
47435107
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x44e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsAttackBelow
(
rsneov
.
LPTbl
[
tp
])
return
c
:
IsSetCard
(
0x
2
44e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsAttackBelow
(
rsneov
.
LPTbl
[
tp
])
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -57,7 +57,7 @@ function cm.lrcon(e,tp,eg,ep,ev,re,r,rp)
if
tp
~=
ep
then
return
false
end
if
not
re
or
not
re
:
IsHasType
(
0x7e0
)
then
return
false
end
local
rc
=
re
:
GetHandler
()
return
rc
:
IsSetCard
(
0x44e
)
and
rc
:
IsType
(
TYPE_MONSTER
)
return
rc
:
IsSetCard
(
0x
2
44e
)
and
rc
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
lrop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
...
...
expansions/strings.conf
View file @
d6597186
...
...
@@ -184,9 +184,9 @@
!
setname
0
xb5c
战场女武神
!
setname
0
xb5d
乌洛波洛斯
!
setname
0
xb5e
御龙
!
setname
0
x1b5e
御龙
士
!
setname
0
x
2b5e
御龙骑
!
setname
0
x
ab5e
御龙骑
士
!
setname
0
x1b5e
御龙
骑
!
setname
0
x
3b5e
御龙骑士
!
setname
0
x
6b5e
御龙
士
#PurpleNightfall 114 0x970-0x97f
#【2021年12月31日前禁止投稿】
...
...
@@ -760,7 +760,6 @@
!
counter
0
x1a80
灵气指示物
#Nemoma 1472676207 337 0x440-0x44f
!
setname
0
x440
Kagari
!
setname
0
x3440
Proto
-
Summoner
!
setname
0
x5440
琪比摩斯
!
setname
0
x6440
Protoform
...
...
@@ -784,8 +783,8 @@
!
setname
0
x244c
Hololive
!
setname
0
x344c
虚拟主播
!
setname
0
x144d
残星倩影
!
setname
0
x44e
铁虹
!
setname
0
x144e
晦空士
!
setname
0
x244e
铁虹
!
setname
0
x44f
背景音台
#named_with_ptsh 破天神狐
!
counter
0
x234
花瓣
...
...
@@ -1080,9 +1079,6 @@
!
setname
0
x5672
神采-艾米莉塔
!
setname
0
x6672
神采-赛尔维
#暗小智 1648243461 681 0x780-0x78f
!
setname
0
xa780
虚拟歌姬
#D9 1309183173 696 0x690-0x69f
!
setname
0
x3690
格斗技
!
setname
0
x3696
扭曲植物
...
...
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