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
25ec6136
Commit
25ec6136
authored
Oct 26, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lbw
parent
379fdd4f
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
26 additions
and
37 deletions
+26
-37
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12013055.lua
expansions/script/c12013055.lua
+1
-1
expansions/script/c17061070.lua
expansions/script/c17061070.lua
+0
-2
expansions/script/c21520163.lua
expansions/script/c21520163.lua
+1
-1
expansions/script/c21520164.lua
expansions/script/c21520164.lua
+1
-1
expansions/script/c21520165.lua
expansions/script/c21520165.lua
+2
-2
expansions/script/c21520166.lua
expansions/script/c21520166.lua
+1
-1
expansions/script/c21520167.lua
expansions/script/c21520167.lua
+1
-1
expansions/script/c21520169.lua
expansions/script/c21520169.lua
+1
-1
expansions/script/c21520170.lua
expansions/script/c21520170.lua
+1
-1
expansions/script/c21520181.lua
expansions/script/c21520181.lua
+1
-1
expansions/script/c21520186.lua
expansions/script/c21520186.lua
+1
-1
expansions/script/c21520190.lua
expansions/script/c21520190.lua
+11
-11
expansions/script/c33502001.lua
expansions/script/c33502001.lua
+0
-2
expansions/script/c60151501.lua
expansions/script/c60151501.lua
+0
-2
expansions/script/c60151551.lua
expansions/script/c60151551.lua
+0
-2
expansions/script/c72404107.lua
expansions/script/c72404107.lua
+1
-1
expansions/script/c72404127.lua
expansions/script/c72404127.lua
+1
-1
expansions/script/c72499000.lua
expansions/script/c72499000.lua
+1
-1
expansions/script/c81012000.lua
expansions/script/c81012000.lua
+0
-2
expansions/script/c81046011.lua
expansions/script/c81046011.lua
+1
-1
expansions/strings.conf
expansions/strings.conf
+0
-1
No files found.
expansions/222DIY.cdb
View file @
25ec6136
No preview for this file type
expansions/script/c12013055.lua
View file @
25ec6136
...
@@ -20,7 +20,7 @@ function cm.initial_effect(c)
...
@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e2
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCondition
(
cm
.
sp
con
)
e2
:
SetCondition
(
cm
.
th
con
)
e2
:
SetCost
(
cm
.
spcost
)
e2
:
SetCost
(
cm
.
spcost
)
e2
:
SetTarget
(
cm
.
sptg
)
e2
:
SetTarget
(
cm
.
sptg
)
e2
:
SetOperation
(
cm
.
spop
)
e2
:
SetOperation
(
cm
.
spop
)
...
...
expansions/script/c17061070.lua
View file @
25ec6136
--苍空的人偶少女·奥契丝
--苍空的人偶少女·奥契丝
local
m
=
17061070
local
m
=
17061070
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
xpcall
(
function
()
require
(
"expansions/script/c57300000"
)
end
,
function
()
require
(
"script/c57300000"
)
end
)
cm
.
named_with_doll
=
true
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--link summon
--link summon
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
...
expansions/script/c21520163.lua
View file @
25ec6136
...
@@ -85,7 +85,7 @@ function c21520163.ccost(e,tp)
...
@@ -85,7 +85,7 @@ function c21520163.ccost(e,tp)
end
end
end
end
function
c21520163
.
rfilter
(
c
)
function
c21520163
.
rfilter
(
c
)
return
(
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
or
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
))
and
c
:
IsAbleToGraveAsCost
()
return
(
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
or
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
))
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGraveAsCost
()
end
end
function
c21520163
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21520163
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21520163
.
rfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21520163
.
rfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c21520164.lua
View file @
25ec6136
...
@@ -84,7 +84,7 @@ function c21520164.ccost(e,tp)
...
@@ -84,7 +84,7 @@ function c21520164.ccost(e,tp)
end
end
end
end
function
c21520164
.
filter
(
c
,
e
,
tp
)
function
c21520164
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x490
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x490
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c21520164
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21520164
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c21520165.lua
View file @
25ec6136
...
@@ -116,9 +116,9 @@ end
...
@@ -116,9 +116,9 @@ end
function
c21520165
.
cfilter
(
c
,
stname
)
function
c21520165
.
cfilter
(
c
,
stname
)
if
stname
==
nil
then
if
stname
==
nil
then
return
(
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
or
c
:
IsAttribute
(
ATTRIBUTE_DARK
))
and
c
:
IsAbleToGrave
()
return
(
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
or
c
:
IsAttribute
(
ATTRIBUTE_DARK
))
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
else
else
return
c
:
IsSetCard
(
stname
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
stname
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
end
end
end
function
c21520165
.
cost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21520165
.
cost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c21520166.lua
View file @
25ec6136
...
@@ -108,7 +108,7 @@ function c21520166.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -108,7 +108,7 @@ function c21520166.thcon(e,tp,eg,ep,ev,re,r,rp)
return
ep
~=
tp
return
ep
~=
tp
end
end
function
c21520166
.
thfilter
(
c
)
function
c21520166
.
thfilter
(
c
)
return
(
c
:
IsSetCard
(
0x490
)
and
c
:
IsLevelBelow
(
4
)
or
c
:
IsCode
(
21520181
))
and
c
:
IsAbleToHand
()
return
(
(
c
:
IsSetCard
(
0x490
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsType
(
TYPE_MONSTER
)
)
or
c
:
IsCode
(
21520181
))
and
c
:
IsAbleToHand
()
end
end
function
c21520166
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21520166
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21520166
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21520166
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c21520167.lua
View file @
25ec6136
...
@@ -107,7 +107,7 @@ function c21520167.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -107,7 +107,7 @@ function c21520167.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c21520167
.
sefilter1
(
e
,
c
)
function
c21520167
.
sefilter1
(
e
,
c
)
return
c
:
IsSetCard
(
0x490
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x490
)
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c21520167
.
ctfilter
(
c
)
function
c21520167
.
ctfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
21520161
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
21520161
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c21520169.lua
View file @
25ec6136
...
@@ -84,7 +84,7 @@ function c21520169.ccost(e,tp)
...
@@ -84,7 +84,7 @@ function c21520169.ccost(e,tp)
end
end
end
end
function
c21520169
.
dfilter
(
c
)
function
c21520169
.
dfilter
(
c
)
return
(
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
or
c
:
IsAttribute
(
ATTRIBUTE_DARK
))
and
not
c
:
IsPublic
()
return
(
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
or
c
:
IsAttribute
(
ATTRIBUTE_DARK
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsPublic
()
end
end
function
c21520169
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21520169
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21520169
.
dfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21520169
.
dfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
expansions/script/c21520170.lua
View file @
25ec6136
...
@@ -84,7 +84,7 @@ function c21520170.ccost(e,tp)
...
@@ -84,7 +84,7 @@ function c21520170.ccost(e,tp)
end
end
end
end
function
c21520170
.
spfilter
(
c
,
e
,
tp
)
function
c21520170
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x490
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x490
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c21520170
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21520170
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21520170
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21520170
.
spfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
...
...
expansions/script/c21520181.lua
View file @
25ec6136
...
@@ -13,7 +13,7 @@ function c21520181.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c21520181.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetCode
(
EVENT_DESTROYED
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCountLimit
(
1
,
21520181
)
--
e2:SetCountLimit(1,21520181)
e2
:
SetCondition
(
c21520181
.
thcon
)
e2
:
SetCondition
(
c21520181
.
thcon
)
e2
:
SetTarget
(
c21520181
.
thtg
)
e2
:
SetTarget
(
c21520181
.
thtg
)
e2
:
SetOperation
(
c21520181
.
thop
)
e2
:
SetOperation
(
c21520181
.
thop
)
...
...
expansions/script/c21520186.lua
View file @
25ec6136
...
@@ -45,7 +45,7 @@ function c21520186.dafilter(c)
...
@@ -45,7 +45,7 @@ function c21520186.dafilter(c)
return
c
:
IsSetCard
(
0x490
)
and
c
:
IsFaceup
()
and
c
:
GetAttack
()
<=
3000
return
c
:
IsSetCard
(
0x490
)
and
c
:
IsFaceup
()
and
c
:
GetAttack
()
<=
3000
end
end
function
c21520186
.
csfilter
(
c
)
function
c21520186
.
csfilter
(
c
)
return
c
:
Is
SetCard
(
0x490
)
and
c
:
IsFaceup
()
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
end
end
function
c21520186
.
cscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21520186
.
cscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetType
()
&
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
==
TYPE_SPELL
+
TYPE_CONTINUOUS
return
e
:
GetHandler
():
GetType
()
&
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
==
TYPE_SPELL
+
TYPE_CONTINUOUS
...
...
expansions/script/c21520190.lua
View file @
25ec6136
...
@@ -23,7 +23,7 @@ function c21520190.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c21520190.initial_effect(c)
local
e2_2
=
e2
:
Clone
()
local
e2_2
=
e2
:
Clone
()
e2_2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2_2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e2_2
)
c
:
RegisterEffect
(
e2_2
)
--
atk &def
--
continuous spell
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SEARCH
)
e3
:
SetCategory
(
CATEGORY_SEARCH
)
e3
:
SetDescription
(
aux
.
Stringid
(
21520190
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
21520190
,
1
))
...
@@ -31,9 +31,9 @@ function c21520190.initial_effect(c)
...
@@ -31,9 +31,9 @@ function c21520190.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c21520190
.
th
con
)
e3
:
SetCondition
(
c21520190
.
cs
con
)
e3
:
SetTarget
(
c21520190
.
th
tg
)
e3
:
SetTarget
(
c21520190
.
cs
tg
)
e3
:
SetOperation
(
c21520190
.
th
op
)
e3
:
SetOperation
(
c21520190
.
cs
op
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--[[ if not c21520190.global_check then
--[[ if not c21520190.global_check then
c21520190.global_check=true
c21520190.global_check=true
...
@@ -90,17 +90,17 @@ end
...
@@ -90,17 +90,17 @@ end
function
c21520190
.
filter
(
c
)
function
c21520190
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x490
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x490
)
end
end
function
c21520190
.
th
filter
(
c
)
function
c21520190
.
cs
filter
(
c
)
return
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
--Group.CheckWithSumEqual(Group g, function f, int sum, int min, int max, ...)
--Group.CheckWithSumEqual(Group g, function f, int sum, int min, int max, ...)
end
end
function
c21520190
.
th
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21520190
.
cs
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetType
()
&
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
==
TYPE_SPELL
+
TYPE_CONTINUOUS
return
e
:
GetHandler
():
GetType
()
&
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
==
TYPE_SPELL
+
TYPE_CONTINUOUS
end
end
function
c21520190
.
th
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c21520190
.
cs
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
c21520190
.
filter
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
GetControler
(
tp
)
end
if
chkc
then
return
c21520190
.
filter
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
GetControler
(
tp
)
end
if
chk
==
0
then
if
chk
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
c21520190
.
th
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c21520190
.
cs
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
return
g
:
CheckWithSumEqual
(
Card
.
GetOriginalLevel
,
7
,
2
,
2
)
and
Duel
.
IsExistingTarget
(
c21520190
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
return
g
:
CheckWithSumEqual
(
Card
.
GetOriginalLevel
,
7
,
2
,
2
)
and
Duel
.
IsExistingTarget
(
c21520190
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -109,13 +109,13 @@ function c21520190.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -109,13 +109,13 @@ function c21520190.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
dg
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
dg
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
end
function
c21520190
.
th
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21520190
.
cs
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
tc
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
dg
=
Group
.
FromCards
(
c
,
tc
)
local
dg
=
Group
.
FromCards
(
c
,
tc
)
local
g
=
Duel
.
GetMatchingGroup
(
c21520190
.
th
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c21520190
.
cs
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
~=
2
or
not
g
:
CheckWithSumEqual
(
Card
.
GetOriginalLevel
,
7
,
2
,
2
)
then
return
end
if
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
~=
2
or
not
g
:
CheckWithSumEqual
(
Card
.
GetOriginalLevel
,
7
,
2
,
2
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
SelectWithSumEqual
(
tp
,
Card
.
GetOriginalLevel
,
7
,
2
,
2
)
local
sg
=
g
:
SelectWithSumEqual
(
tp
,
Card
.
GetOriginalLevel
,
7
,
2
,
2
)
...
...
expansions/script/c33502001.lua
View file @
25ec6136
--灰色记忆 人偶少女
--灰色记忆 人偶少女
local
m
=
33502001
local
m
=
33502001
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
xpcall
(
function
()
require
(
"expansions/script/c57300000"
)
end
,
function
()
require
(
"script/c57300000"
)
end
)
cm
.
named_with_doll
=
true
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--tograve
--tograve
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c60151501.lua
View file @
25ec6136
--Ruby Rose
--Ruby Rose
Duel
.
LoadScript
(
"c37564765.lua"
)
c60151501
.
Senya_name_with_rose
=
true
function
c60151501
.
initial_effect
(
c
)
function
c60151501
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
60151501
)
c
:
SetUniqueOnField
(
1
,
0
,
60151501
)
--Activate
--Activate
...
...
expansions/script/c60151551.lua
View file @
25ec6136
--Crescent Rose
--Crescent Rose
Duel
.
LoadScript
(
"c37564765.lua"
)
c60151551
.
Senya_name_with_rose
=
true
function
c60151551
.
initial_effect
(
c
)
function
c60151551
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
60151551
)
c
:
SetUniqueOnField
(
1
,
0
,
60151551
)
--Activate
--Activate
...
...
expansions/script/c72404107.lua
View file @
25ec6136
...
@@ -95,7 +95,7 @@ function c72404107.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,7 +95,7 @@ function c72404107.activate(e,tp,eg,ep,ev,re,r,rp)
else
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c72404107
.
filter
,
tp
,
LOCATION_
DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c72404107
.
filter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
if
Duel
.
SendtoGrave
(
g
,
REASON_RELEASE
+
REASON_EFFECT
)
~=
0
then
if
Duel
.
SendtoGrave
(
g
,
REASON_RELEASE
+
REASON_EFFECT
)
~=
0
then
local
xg
=
Duel
.
SelectMatchingCard
(
tp
,
c72404107
.
filter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
xg
=
Duel
.
SelectMatchingCard
(
tp
,
c72404107
.
filter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
...
...
expansions/script/c72404127.lua
View file @
25ec6136
...
@@ -34,7 +34,7 @@ function c72404127.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -34,7 +34,7 @@ function c72404127.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c72404127
.
filter1
(
c
)
function
c72404127
.
filter1
(
c
)
return
c
:
IsSetCard
(
0x720
)
and
c
:
IsReleasableByEffect
()
return
c
:
IsSetCard
(
0x720
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
ReleasableByEffect
()
end
end
function
c72404127
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72404127
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72404127
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72404127
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c72499000.lua
View file @
25ec6136
...
@@ -51,7 +51,7 @@ function c72499000.operation1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c72499000.operation1(e,tp,eg,ep,ev,re,r,rp)
end
end
--
--
function
c72499000
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72499000
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_MZONE
,
3
,
nil
)
and
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
==
0
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_MZONE
,
3
,
nil
)
and
Duel
.
GetFieldGroupCount
(
e
:
GetOwner
()
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
==
0
end
end
function
c72499000
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72499000
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c81012000.lua
View file @
25ec6136
--Flaming Rose
--Flaming Rose
Duel
.
LoadScript
(
"c37564765.lua"
)
c81012000
.
Senya_name_with_rose
=
true
function
c81012000
.
initial_effect
(
c
)
function
c81012000
.
initial_effect
(
c
)
--Activate
--Activate
local
e0
=
aux
.
AddRitualProcEqual2
(
c
,
c81012000
.
filter
,
LOCATION_HAND
+
LOCATION_GRAVE
)
local
e0
=
aux
.
AddRitualProcEqual2
(
c
,
c81012000
.
filter
,
LOCATION_HAND
+
LOCATION_GRAVE
)
...
...
expansions/script/c81046011.lua
View file @
25ec6136
...
@@ -25,7 +25,7 @@ function c81046011.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c81046011.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c81046011
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81046011
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
cg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
cg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
return
cg
:
GetCount
()
>
7
and
cg
:
GetClassCount
(
Card
.
GetCode
)
==
cg
:
GetCount
()
return
cg
:
GetCount
()
>
7
and
cg
:
GetClassCount
(
Card
.
GetCode
)
==
cg
:
GetCount
()
...
...
expansions/strings.conf
View file @
25ec6136
...
@@ -791,7 +791,6 @@
...
@@ -791,7 +791,6 @@
!
setname
0
x291
精灵王
!
setname
0
x291
精灵王
!
setname
0
x292
灵翼
!
setname
0
x292
灵翼
!
setname
0
x1292
天殇灵翼
!
setname
0
x1292
天殇灵翼
!
setname
0
x295
神迹
!
setname
0
x296
幻晶兽
!
setname
0
x296
幻晶兽
!
setname
0
x297
亡灵舰队
!
setname
0
x297
亡灵舰队
!
setname
0
xc298
荒兽
!
setname
0
xc298
荒兽
...
...
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