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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
96c0551f
Commit
96c0551f
authored
Jun 20, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
fd311c65
Changes
36
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
94 additions
and
83 deletions
+94
-83
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12048007.lua
expansions/script/c12048007.lua
+0
-8
expansions/script/c12070053.lua
expansions/script/c12070053.lua
+0
-1
expansions/script/c13959994.lua
expansions/script/c13959994.lua
+3
-3
expansions/script/c13959996.lua
expansions/script/c13959996.lua
+3
-3
expansions/script/c33700345.lua
expansions/script/c33700345.lua
+1
-0
expansions/script/c33700351.lua
expansions/script/c33700351.lua
+1
-1
expansions/script/c33700425.lua
expansions/script/c33700425.lua
+22
-2
expansions/script/c33700989.lua
expansions/script/c33700989.lua
+1
-1
expansions/script/c33701340.lua
expansions/script/c33701340.lua
+0
-1
expansions/script/c33701346.lua
expansions/script/c33701346.lua
+1
-1
expansions/script/c33701362.lua
expansions/script/c33701362.lua
+1
-1
expansions/script/c33701378.lua
expansions/script/c33701378.lua
+1
-1
expansions/script/c33701397.lua
expansions/script/c33701397.lua
+1
-1
expansions/script/c33701398.lua
expansions/script/c33701398.lua
+1
-1
expansions/script/c33701404.lua
expansions/script/c33701404.lua
+1
-1
expansions/script/c33701407.lua
expansions/script/c33701407.lua
+0
-1
expansions/script/c33701408.lua
expansions/script/c33701408.lua
+1
-1
expansions/script/c33701410.lua
expansions/script/c33701410.lua
+1
-1
expansions/script/c33701414.lua
expansions/script/c33701414.lua
+1
-1
expansions/script/c33701415.lua
expansions/script/c33701415.lua
+1
-1
expansions/script/c33701416.lua
expansions/script/c33701416.lua
+1
-1
expansions/script/c33701421.lua
expansions/script/c33701421.lua
+1
-1
expansions/script/c33701422.lua
expansions/script/c33701422.lua
+1
-1
expansions/script/c33701423.lua
expansions/script/c33701423.lua
+1
-1
expansions/script/c33701434.lua
expansions/script/c33701434.lua
+0
-1
expansions/script/c33701502.lua
expansions/script/c33701502.lua
+2
-0
expansions/script/c33701528.lua
expansions/script/c33701528.lua
+1
-0
expansions/script/c33701534.lua
expansions/script/c33701534.lua
+7
-7
expansions/script/c33711114.lua
expansions/script/c33711114.lua
+1
-1
expansions/script/c33711409.lua
expansions/script/c33711409.lua
+34
-35
expansions/script/c33711505.lua
expansions/script/c33711505.lua
+1
-1
expansions/script/c35800305.lua
expansions/script/c35800305.lua
+0
-1
expansions/script/c53728021.lua
expansions/script/c53728021.lua
+1
-0
expansions/script/c64800133.lua
expansions/script/c64800133.lua
+1
-1
expansions/script/c9390017.lua
expansions/script/c9390017.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
96c0551f
No preview for this file type
expansions/script/c12048007.lua
View file @
96c0551f
...
@@ -22,14 +22,6 @@ function cm.initial_effect(c)
...
@@ -22,14 +22,6 @@ function cm.initial_effect(c)
e3
:
SetTarget
(
cm
.
destg
)
e3
:
SetTarget
(
cm
.
destg
)
e3
:
SetOperation
(
cm
.
desop
)
e3
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--atk
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EVENT_DAMAGE
)
e3
:
SetCondition
(
cm
.
atkcon
)
e3
:
SetOperation
(
cm
.
atkop
)
c
:
RegisterEffect
(
e3
)
end
end
function
cm
.
spfilter1
(
c
,
e
,
tp
)
function
cm
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
...
...
expansions/script/c12070053.lua
View file @
96c0551f
...
@@ -51,7 +51,6 @@ function cm.initial_effect(c)
...
@@ -51,7 +51,6 @@ function cm.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
end
end
end
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xafa6
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0xafa6
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
end
end
...
...
expansions/script/c13959994.lua
View file @
96c0551f
This diff is collapsed.
Click to expand it.
expansions/script/c13959996.lua
View file @
96c0551f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
expansions/script/c33700345.lua
View file @
96c0551f
...
@@ -6,6 +6,7 @@ cm.dfc_back_side=m-1
...
@@ -6,6 +6,7 @@ cm.dfc_back_side=m-1
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
Senya
.
DFCBackSideCommonEffect
(
c
)
Senya
.
DFCBackSideCommonEffect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e1
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
...
...
expansions/script/c33700351.lua
View file @
96c0551f
--虚拟YouTuber 萌实
--虚拟YouTuber 萌实
local
m
=
3370035
0
local
m
=
3370035
1
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
c33700351
.
initial_effect
(
c
)
function
c33700351
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
...
expansions/script/c33700425.lua
View file @
96c0551f
...
@@ -4,7 +4,15 @@
...
@@ -4,7 +4,15 @@
local
s
=
c33700425
local
s
=
c33700425
local
id
=
33700425
local
id
=
33700425
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddEquipProcedure
(
c
)
--Activate
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetCategory
(
CATEGORY_EQUIP
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CONTINUOUS_TARGET
)
e0
:
SetTarget
(
s
.
target
)
e0
:
SetOperation
(
s
.
operation
)
c
:
RegisterEffect
(
e0
)
--0 atk
--0 atk
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
...
@@ -47,7 +55,19 @@ function s.initial_effect(c)
...
@@ -47,7 +55,19 @@ function s.initial_effect(c)
e5
:
SetOperation
(
s
.
drop
)
e5
:
SetOperation
(
s
.
drop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
Duel
.
Equip
(
tp
,
e
:
GetHandler
(),
tc
)
end
end
function
s
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetEquipTarget
()
return
e
:
GetHandler
():
GetEquipTarget
()
end
end
...
...
expansions/script/c33700989.lua
View file @
96c0551f
...
@@ -3,7 +3,7 @@ local m=33700989
...
@@ -3,7 +3,7 @@ local m=33700989
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
+
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_DRAW
+
CATEGORY_REMOVE
+
CATEGORY_RECOVER
)
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_DRAW
+
CATEGORY_REMOVE
+
CATEGORY_RECOVER
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetCost
(
cm
.
cost
)
...
...
expansions/script/c33701340.lua
View file @
96c0551f
...
@@ -6,7 +6,6 @@ function cm.initial_effect(c)
...
@@ -6,7 +6,6 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c33701346.lua
View file @
96c0551f
...
@@ -61,7 +61,7 @@ end
...
@@ -61,7 +61,7 @@ end
function
c33701346
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33701346
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a1
=
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
e
:
GetHandler
():
IsFaceup
()
local
a1
=
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
e
:
GetHandler
():
IsFaceup
()
local
a2
=
Duel
.
IsExistingMatchingCard
(
c33701346
.
tgfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
:
GetHandler
():
GetAttack
())
local
a2
=
Duel
.
IsExistingMatchingCard
(
c33701346
.
tgfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
:
GetHandler
():
GetAttack
())
local
op
=
=
2
local
op
=
2
if
a1
and
a2
then
if
a1
and
a2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
33701346
,
1
),
aux
.
Stringid
(
33701346
,
2
))
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
33701346
,
1
),
aux
.
Stringid
(
33701346
,
2
))
elseif
a1
then
elseif
a1
then
...
...
expansions/script/c33701362.lua
View file @
96c0551f
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
++
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_CAL
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
...
...
expansions/script/c33701378.lua
View file @
96c0551f
...
@@ -111,5 +111,5 @@ function cm.actlimit(e,re,tp)
...
@@ -111,5 +111,5 @@ function cm.actlimit(e,re,tp)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
end
end
return
rclv
>=
min
end
return
rclv
>=
min
end
end
expansions/script/c33701397.lua
View file @
96c0551f
...
@@ -66,7 +66,7 @@ function cm.coop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,7 +66,7 @@ function cm.coop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
if
op
==
1
then
if
op
==
1
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
else
op
==
2
then
else
if
op
==
2
then
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
end
end
else
else
...
...
expansions/script/c33701398.lua
View file @
96c0551f
...
@@ -95,7 +95,7 @@ function cm.spfilter(c,e,tp)
...
@@ -95,7 +95,7 @@ function cm.spfilter(c,e,tp)
end
end
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
g
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c33701404.lua
View file @
96c0551f
...
@@ -61,7 +61,7 @@ end
...
@@ -61,7 +61,7 @@ end
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
t
=
Duel
.
GetAttackTarget
()
local
t
=
Duel
.
GetAttackTarget
()
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
Duel
.
GetAttacker
()
==
c
and
t
~=
nil
and
t
:
GetAttack
()
<
c
:
GetAttack
()
and
return
Duel
.
GetAttacker
()
==
c
and
t
~=
nil
and
t
:
GetAttack
()
<
c
:
GetAttack
()
end
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
t
=
Duel
.
GetFirstTarget
()
local
t
=
Duel
.
GetFirstTarget
()
...
...
expansions/script/c33701407.lua
View file @
96c0551f
...
@@ -62,7 +62,6 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,7 +62,6 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
end
end
end
end
end
end
end
function
cm
.
efilter
(
e
,
te
)
function
cm
.
efilter
(
e
,
te
)
...
...
expansions/script/c33701408.lua
View file @
96c0551f
...
@@ -124,7 +124,7 @@ function cm.dselect1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -124,7 +124,7 @@ function cm.dselect1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
rg
,
nil
,
2
,
REASON_RULE
)
Duel
.
SendtoDeck
(
rg
,
nil
,
2
,
REASON_RULE
)
end
end
e
:
GetLabelObject
():
DeleteGroup
()
e
:
GetLabelObject
():
DeleteGroup
()
else
op
=
1
then
else
if
op
=
=
1
then
Duel
.
Recover
(
tp
,
5000
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
5000
,
REASON_EFFECT
)
end
end
end
end
expansions/script/c33701410.lua
View file @
96c0551f
...
@@ -51,7 +51,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -51,7 +51,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,:
GetHandler
())
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
end
end
function
cm
.
splimit
(
e
,
c
)
function
cm
.
splimit
(
e
,
c
)
...
...
expansions/script/c33701414.lua
View file @
96c0551f
...
@@ -151,7 +151,7 @@ function cm.atop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -151,7 +151,7 @@ function cm.atop(e,tp,eg,ep,ev,re,r,rp)
if
not
ex
then
return
end
if
not
ex
then
return
end
if
cp
~=
PLAYER_ALL
then
if
cp
~=
PLAYER_ALL
then
if
Duel
.
IsPlayerAffectedByEffect
(
cp
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
if
Duel
.
IsPlayerAffectedByEffect
(
cp
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
elseif
Duel
.
IsPlayerAffectedByEffect
(
0
,
EFFECT_REVERSE_DAMAGE
)
or
Duel
.
IsPlayerAffectedByEffect
(
1
,
EFFECT_REVERSE_DAMAGE
)
then
v
+
ev1
end
elseif
Duel
.
IsPlayerAffectedByEffect
(
0
,
EFFECT_REVERSE_DAMAGE
)
or
Duel
.
IsPlayerAffectedByEffect
(
1
,
EFFECT_REVERSE_DAMAGE
)
then
v
=
v
+
ev1
end
end
end
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
Duel
.
ChangeTargetCard
(
ev
,
g
)
Duel
.
ChangeTargetCard
(
ev
,
g
)
...
...
expansions/script/c33701415.lua
View file @
96c0551f
...
@@ -109,7 +109,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -109,7 +109,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
cfilter
(
c
,
tp
,
code
)
function
cm
.
cfilter
(
c
,
tp
,
code
)
return
c
:
IsControler
(
tp
)
and
not
c
:
IsCode
(
code
)
and
return
c
:
IsControler
(
tp
)
and
not
c
:
IsCode
(
code
)
end
end
function
cm
.
drcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
drcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
code
=
0
local
code
=
0
...
...
expansions/script/c33701416.lua
View file @
96c0551f
...
@@ -51,7 +51,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
sg
:
GetFirst
()
local
sc
=
sg
:
GetFirst
()
if
sc
and
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
sc
and
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
))
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
))
if
op
=
0
then
if
op
=
=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c33701421.lua
View file @
96c0551f
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
...
@@ -15,7 +15,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
condition
)
e2
:
SetOperation
(
cm
.
condition
)
e2
:
SetOperation
(
cm
.
operation
)
e2
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e3
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e3
:
SetTarget
(
cm
.
reptg
)
e3
:
SetTarget
(
cm
.
reptg
)
...
...
expansions/script/c33701422.lua
View file @
96c0551f
...
@@ -68,7 +68,7 @@ function cm.actconb(e)
...
@@ -68,7 +68,7 @@ function cm.actconb(e)
end
end
function
cm
.
actlimit
(
e
,
re
,
tp
)
function
cm
.
actlimit
(
e
,
re
,
tp
)
if
re
:
GetHandler
()
then
return
re
:
GetHandler
()
~=
e
:
GetHandler
()
if
re
:
GetHandler
()
then
return
re
:
GetHandler
()
~=
e
:
GetHandler
()
else
return
re
:
GetOwner
()
~=
e
:
GetHandler
()
else
return
re
:
GetOwner
()
~=
e
:
GetHandler
()
end
end
end
function
cm
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
cm
[
2
]
>
0
and
cm
[
3
]
>
0
return
cm
[
2
]
>
0
and
cm
[
3
]
>
0
...
...
expansions/script/c33701423.lua
View file @
96c0551f
...
@@ -75,7 +75,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,7 +75,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
=
e
:
GetLabelObject
()
and
e
:
GetHandlerPlayer
()
~=
tp
return
re
=
=
e
:
GetLabelObject
()
and
e
:
GetHandlerPlayer
()
~=
tp
end
end
function
cm
.
damcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
damcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
expansions/script/c33701434.lua
View file @
96c0551f
...
@@ -20,7 +20,6 @@ function cm.initial_effect(c)
...
@@ -20,7 +20,6 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCode
(
EVENT_SUMMON
)
e2
:
SetCode
(
EVENT_SUMMON
)
e2
:
SetCondition
(
cm
.
dscon
)
e2
:
SetCost
(
cm
.
cost
)
e2
:
SetCost
(
cm
.
cost
)
e2
:
SetTarget
(
cm
.
dstg
)
e2
:
SetTarget
(
cm
.
dstg
)
e2
:
SetOperation
(
cm
.
dsop
)
e2
:
SetOperation
(
cm
.
dsop
)
...
...
expansions/script/c33701502.lua
View file @
96c0551f
--【背景音台】Shelter
--【背景音台】Shelter
local
m
=
33701502
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--activate
--activate
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c33701528.lua
View file @
96c0551f
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
local
m
=
33701528
local
m
=
33701528
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
dfc_back_side
=
m
-
2
cm
.
dfc_back_side
=
m
-
2
xpcall
(
function
()
require
(
"expansions/script/c37564765"
)
end
,
function
()
require
(
"script/c37564765"
)
end
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--xyz summon
--xyz summon
aux
.
AddXyzProcedure
(
c
,
cm
.
mfilter
,
5
,
5
)
aux
.
AddXyzProcedure
(
c
,
cm
.
mfilter
,
5
,
5
)
...
...
expansions/script/c33701534.lua
View file @
96c0551f
...
@@ -43,12 +43,12 @@ function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,12 +43,12 @@ function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
m
,
aux
.
Stringid
(
m
,
0
))
if
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
m
,
aux
.
Stringid
(
m
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
end
end
end
expansions/script/c33711114.lua
View file @
96c0551f
...
@@ -93,7 +93,7 @@ function c33711114.ctcost1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -93,7 +93,7 @@ function c33711114.ctcost1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
CTR_PETAL
,
4
,
REASON_COST
)
Duel
.
RemoveCounter
(
tp
,
1
,
0
,
CTR_PETAL
,
4
,
REASON_COST
)
end
end
function
c33711114
.
tfilter1
(
c
,
e
,
tp
)
function
c33711114
.
tfilter1
(
c
,
e
,
tp
)
return
c
:
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
IsCode
(
33711115
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
IsCode
(
33711115
)
end
end
function
c33711114
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33711114
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtra
()
and
Duel
.
IsExistingMatchingCard
(
c33711114
.
tfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtra
()
and
Duel
.
IsExistingMatchingCard
(
c33711114
.
tfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
expansions/script/c33711409.lua
View file @
96c0551f
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
local
m
=
33711409
local
m
=
33711409
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
@@ -72,38 +71,38 @@ function cm.afilter(c)
...
@@ -72,38 +71,38 @@ function cm.afilter(c)
return
c
:
IsFaceup
()
and
c
:
GetFlagEffect
(
m
)
==
0
return
c
:
IsFaceup
()
and
c
:
GetFlagEffect
(
m
)
==
0
end
end
function
cm
.
op
(
e
,
tp
)
function
cm
.
op
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
afilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
afilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
for
sc
in
aux
.
Next
(
mg
)
do
for
sc
in
aux
.
Next
(
mg
)
do
sc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
0
,
0
,
aux
.
Stringid
(
m
,
2
))
sc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
0
,
0
,
aux
.
Stringid
(
m
,
2
))
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_RACE
)
e1
:
SetCode
(
EFFECT_CHANGE_RACE
)
e1
:
SetValue
(
cm
[
0
])
e1
:
SetValue
(
cm
[
0
])
sc
:
RegisterEffect
(
e1
)
sc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CHANGE_ATTRIBUTE
)
e2
:
SetCode
(
EFFECT_CHANGE_ATTRIBUTE
)
e2
:
SetValue
(
cm
[
1
])
e2
:
SetValue
(
cm
[
1
])
sc
:
RegisterEffect
(
e2
)
sc
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_SET_ATTACK
)
e3
:
SetCode
(
EFFECT_SET_ATTACK
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_DELAY
)
e3
:
SetValue
(
cm
[
2
])
e3
:
SetValue
(
cm
[
2
])
sc
:
RegisterEffect
(
e3
)
sc
:
RegisterEffect
(
e3
)
local
e4
=
e1
:
Clone
()
local
e4
=
e1
:
Clone
()
e4
:
SetCode
(
EFFECT_SET_DEFENSE
)
e4
:
SetCode
(
EFFECT_SET_DEFENSE
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_DELAY
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_DELAY
)
e4
:
SetValue
(
cm
[
3
])
e4
:
SetValue
(
cm
[
3
])
sc
:
RegisterEffect
(
e4
)
sc
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetCode
(
EFFECT_NO_BATTLE_DAMAGE
)
e5
:
SetCode
(
EFFECT_NO_BATTLE_DAMAGE
)
e5
:
SetValue
(
1
)
e5
:
SetValue
(
1
)
sc
:
RegisterEffect
(
e5
)
sc
:
RegisterEffect
(
e5
)
local
e8
=
Effect
.
CreateEffect
(
c
)
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
)
e8
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
e8
:
SetCode
(
EFFECT_AVOID_BATTLE_DAMAGE
)
e8
:
SetValue
(
1
)
e8
:
SetValue
(
1
)
sc
:
RegisterEffect
(
e8
)
sc
:
RegisterEffect
(
e8
)
end
end
end
end
\ No newline at end of file
expansions/script/c33711505.lua
View file @
96c0551f
...
@@ -71,7 +71,7 @@ function s.acop(e, tp, eg, ep, ev, re, r, rp)
...
@@ -71,7 +71,7 @@ function s.acop(e, tp, eg, ep, ev, re, r, rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e1
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e1
:
SetValue
(
ac
:
GetTextDefense
)
e1
:
SetValue
(
ac
:
GetTextDefense
()
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
...
...
expansions/script/c35800305.lua
View file @
96c0551f
...
@@ -18,7 +18,6 @@ function cm.initial_effect(c)
...
@@ -18,7 +18,6 @@ function cm.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCountLimit
(
1
,
m
)
e3
:
SetCost
(
cm
.
co3
)
e3
:
SetTarget
(
cm
.
tg3
)
e3
:
SetTarget
(
cm
.
tg3
)
e3
:
SetOperation
(
cm
.
op3
)
e3
:
SetOperation
(
cm
.
op3
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c53728021.lua
View file @
96c0551f
local
m
=
53728021
local
m
=
53728021
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"大征啼鸟 歼星激流"
cm
.
name
=
"大征啼鸟 歼星激流"
if
not
pcall
(
function
()
require
(
"expansions/script/c53702500"
)
end
)
then
require
(
"script/c53702500"
)
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_MACHINE
),
2
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_MACHINE
),
2
)
SNNM
.
AnouguryLink
(
c
)
SNNM
.
AnouguryLink
(
c
)
...
...
expansions/script/c64800133.lua
View file @
96c0551f
...
@@ -11,7 +11,7 @@ function c64800133.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c64800133.initial_effect(c)
--control
--control
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_CONTROL
)
e3
:
SetCategory
(
CATEGORY_CONTROL
)
e
2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e
3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
64800133
)
e3
:
SetCountLimit
(
1
,
64800133
)
...
...
expansions/script/c9390017.lua
View file @
96c0551f
...
@@ -40,13 +40,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -40,13 +40,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and
Duel
.
IsExistingTarget
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2500
,
0
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x9f93
,
TYPES_EFFECT_TRAP_MONSTER
,
2500
,
0
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g1
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g1
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
...
...
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