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
74b4c687
Commit
74b4c687
authored
Oct 17, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
f81eb50b
Pipeline
#6285
passed with stages
in 31 minutes and 44 seconds
Changes
21
Pipelines
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
189 additions
and
20 deletions
+189
-20
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c10071121.lua
expansions/script/c10071121.lua
+0
-1
expansions/script/c11451422.lua
expansions/script/c11451422.lua
+1
-1
expansions/script/c13959994.lua
expansions/script/c13959994.lua
+3
-3
expansions/script/c13959996.lua
expansions/script/c13959996.lua
+3
-3
expansions/script/c28316019.lua
expansions/script/c28316019.lua
+1
-1
expansions/script/c53700009.lua
expansions/script/c53700009.lua
+1
-1
expansions/script/c53715001.lua
expansions/script/c53715001.lua
+17
-0
expansions/script/c53715008.lua
expansions/script/c53715008.lua
+17
-0
expansions/script/c53715009.lua
expansions/script/c53715009.lua
+17
-0
expansions/script/c53715010.lua
expansions/script/c53715010.lua
+17
-0
expansions/script/c53715011.lua
expansions/script/c53715011.lua
+17
-0
expansions/script/c53715014.lua
expansions/script/c53715014.lua
+17
-0
expansions/script/c53715015.lua
expansions/script/c53715015.lua
+17
-0
expansions/script/c53715016.lua
expansions/script/c53715016.lua
+17
-0
expansions/script/c66915033.lua
expansions/script/c66915033.lua
+1
-1
expansions/script/c75646469.lua
expansions/script/c75646469.lua
+6
-6
expansions/script/c81002010.lua
expansions/script/c81002010.lua
+17
-0
expansions/script/c81026071.lua
expansions/script/c81026071.lua
+2
-2
expansions/script/c86510003.lua
expansions/script/c86510003.lua
+17
-0
expansions/script/c9310039.lua
expansions/script/c9310039.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
74b4c687
No preview for this file type
expansions/script/c10071121.lua
View file @
74b4c687
...
...
@@ -44,7 +44,6 @@ function cm.xyzop(e,tp,chk)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
funct
--code
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c11451422.lua
View file @
74b4c687
...
...
@@ -37,7 +37,7 @@ function cm.filter2(c)
return
c
:
IsSetCard
(
0x6978
)
and
c
:
IsAbleToDeck
()
and
not
c
:
IsCode
(
m
)
end
function
cm
.
filter3
(
c
,
tp
)
return
c
:
IsCode
(
11451415
and
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
()
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
return
c
:
IsCode
(
11451415
)
and
c
:
IsType
(
TYPE_FIELD
)
and
c
:
GetActivateEffect
()
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
function
cm
.
hand
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
...
...
expansions/script/c13959994.lua
View file @
74b4c687
This diff is collapsed.
Click to expand it.
expansions/script/c13959996.lua
View file @
74b4c687
This source diff could not be displayed because it is too large. You can
view the blob
instead.
expansions/script/c28316019.lua
View file @
74b4c687
--白雪琉璃·幻象
local
m
=
2
6
316019
local
m
=
2
8
316019
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c53700009.lua
View file @
74b4c687
...
...
@@ -4,7 +4,7 @@ cm.name="星辰临下"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_RELEASE
+
CATEGORY_LVCHANGE
)
e1
:
SetCategory
(
CATEGORY_RELEASE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
expansions/script/c53715001.lua
View file @
74b4c687
...
...
@@ -27,6 +27,23 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
destg
)
e2
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e2
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
CheckGroupRecursive
(
c
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
sg
:
AddCard
(
c
)
...
...
expansions/script/c53715008.lua
View file @
74b4c687
...
...
@@ -24,6 +24,23 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
destg
)
e1
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e1
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
CheckGroupRecursive
(
c
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
sg
:
AddCard
(
c
)
...
...
expansions/script/c53715009.lua
View file @
74b4c687
...
...
@@ -26,6 +26,23 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
target
)
e2
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e2
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
CheckGroupRecursive
(
c
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
sg
:
AddCard
(
c
)
...
...
expansions/script/c53715010.lua
View file @
74b4c687
...
...
@@ -26,6 +26,23 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
target
)
e2
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e2
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
CheckGroupRecursive
(
c
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
sg
:
AddCard
(
c
)
...
...
expansions/script/c53715011.lua
View file @
74b4c687
...
...
@@ -25,6 +25,23 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
destg
)
e1
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e1
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
CheckGroupRecursive
(
c
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
sg
:
AddCard
(
c
)
...
...
expansions/script/c53715014.lua
View file @
74b4c687
...
...
@@ -49,6 +49,23 @@ function cm.initial_effect(c)
e5
:
SetTarget
(
cm
.
thtg
)
e5
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e5
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
CheckGroupRecursive
(
c
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
sg
:
AddCard
(
c
)
...
...
expansions/script/c53715015.lua
View file @
74b4c687
...
...
@@ -44,6 +44,23 @@ function cm.initial_effect(c)
e7
:
SetCondition
(
cm
.
con
)
e7
:
SetOperation
(
cm
.
op
)
c
:
RegisterEffect
(
e7
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
CheckGroupRecursive
(
c
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
sg
:
AddCard
(
c
)
...
...
expansions/script/c53715016.lua
View file @
74b4c687
...
...
@@ -49,6 +49,23 @@ function cm.initial_effect(c)
e5
:
SetTarget
(
cm
.
thtg
)
e5
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e5
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
CheckGroupRecursive
(
c
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
sg
:
AddCard
(
c
)
...
...
expansions/script/c66915033.lua
View file @
74b4c687
...
...
@@ -64,7 +64,7 @@ function cm.initial_effect(c)
StarLight_from_K
.
Brightstarlight_Effect
[
e3
]
=
true
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
if
not
StarLight_from_Kand
bit
.
band
(
st
,
SUMMON_TYPE_LINK
)
~=
SUMMON_TYPE_LINK
then
return
false
end
if
not
StarLight_from_Kand
or
bit
.
band
(
st
,
SUMMON_TYPE_LINK
)
~=
SUMMON_TYPE_LINK
then
return
false
end
return
bit
.
band
(
st
,
SUMMON_TYPE_LINK
)
==
SUMMON_TYPE_LINK
or
StarLight_from_K
.
Brightstarlight_Effect
[
se
]
end
function
cm
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
...
...
expansions/script/c75646469.lua
View file @
74b4c687
...
...
@@ -4,10 +4,10 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
m
)
--Activate
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e
1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e
1
)
local
e
0
=
Effect
.
CreateEffect
(
c
)
e
0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e
0
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e
0
)
--effect gain
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -15,8 +15,8 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetValue
(
400
)
local
e
2
=
ex
2
:
Clone
()
e
x2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
local
e
1
=
e
2
:
Clone
()
e
1
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
...
...
expansions/script/c81002010.lua
View file @
74b4c687
...
...
@@ -33,6 +33,23 @@ function cm.initial_effect(c)
e3
:
SetTarget
(
cm
.
distg
)
e3
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e3
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
mfilter1
(
c
)
return
c
:
IsCode
(
81002000
)
...
...
expansions/script/c81026071.lua
View file @
74b4c687
...
...
@@ -22,8 +22,8 @@ function cm.initial_effect(c)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCost
(
aux
.
bfgcost
)
e3
:
SetTarget
(
cm
.
set
tg
)
e3
:
SetOperation
(
cm
.
set
op
)
e3
:
SetTarget
(
cm
.
th
tg
)
e3
:
SetOperation
(
cm
.
th
op
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
cfilter
(
c
)
...
...
expansions/script/c86510003.lua
View file @
74b4c687
...
...
@@ -63,6 +63,23 @@ function c86510003.initial_effect(c)
e5
:
SetTarget
(
c86510003
.
attg
)
e5
:
SetOperation
(
c86510003
.
atop3
)
c
:
RegisterEffect
(
e5
)
--double tuner check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
c86510003
.
mfilter
(
c
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
...
...
expansions/script/c9310039.lua
View file @
74b4c687
...
...
@@ -111,7 +111,7 @@ function c9310039.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
ct
and
g
:
FilterCount
(
c9310039
.
mgfilter
,
nil
,
e
,
tp
,
e
:
GetHandler
(),
g
)
==
ct
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
,
POS_FACEUP_DEFENSE
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment