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
ae565e5d
Commit
ae565e5d
authored
Aug 19, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1ec5af9d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
91 deletions
+42
-91
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/pics/81011034.jpg
expansions/pics/81011034.jpg
+0
-0
expansions/script/c81005048.lua
expansions/script/c81005048.lua
+0
-13
expansions/script/c81011006.lua
expansions/script/c81011006.lua
+42
-39
expansions/script/c81011007.lua
expansions/script/c81011007.lua
+0
-13
expansions/script/c81011021.lua
expansions/script/c81011021.lua
+0
-13
expansions/script/c81013024.lua
expansions/script/c81013024.lua
+0
-13
No files found.
expansions/222DIY.cdb
View file @
ae565e5d
No preview for this file type
expansions/pics/81011034.jpg
View replaced file @
1ec5af9d
View file @
ae565e5d
69 KB
|
W:
|
H:
134 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c81005048.lua
View file @
ae565e5d
...
@@ -32,19 +32,6 @@ function c81005048.initial_effect(c)
...
@@ -32,19 +32,6 @@ function c81005048.initial_effect(c)
e2
:
SetTarget
(
c81005048
.
target
)
e2
:
SetTarget
(
c81005048
.
target
)
e2
:
SetOperation
(
c81005048
.
operation
)
e2
:
SetOperation
(
c81005048
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--spsummon bgm
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCondition
(
c81005048
.
sumcon
)
e3
:
SetOperation
(
c81005048
.
sumsuc
)
c
:
RegisterEffect
(
e3
)
end
function
c81005048
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
c81005048
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
81005048
,
2
))
end
end
function
c81005048
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
function
c81005048
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
(
not
c
:
IsType
(
TYPE_TOKEN
))
and
(
not
sg
or
sg
:
FilterCount
(
aux
.
TRUE
,
c
)
==
0
or
sg
:
IsExists
(
Card
.
IsFusionCode
,
1
,
c
,
c
:
GetFusionCode
()))
return
(
not
c
:
IsType
(
TYPE_TOKEN
))
and
(
not
sg
or
sg
:
FilterCount
(
aux
.
TRUE
,
c
)
==
0
or
sg
:
IsExists
(
Card
.
IsFusionCode
,
1
,
c
,
c
:
GetFusionCode
()))
...
...
expansions/script/c81011006.lua
View file @
ae565e5d
--绫濑亚梦
--绫濑亚梦
function
c81011006
.
initial_effect
(
c
)
local
m
=
81011006
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
c81011006
.
ffilter
,
2
,
true
)
aux
.
AddFusionProcFunRep
(
c
,
cm
.
ffilter
,
2
,
true
)
--spsummon bgm
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e0
:
SetCondition
(
c81011006
.
sumcon
)
e0
:
SetOperation
(
c81011006
.
sumsuc
)
c
:
RegisterEffect
(
e0
)
--remove
--remove
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
81011006
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
81011006
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCost
(
c
81011006
.
rmcost
)
e1
:
SetCost
(
c
m
.
rmcost
)
e1
:
SetTarget
(
c
81011006
.
rmtg
)
e1
:
SetTarget
(
c
m
.
rmtg
)
e1
:
SetOperation
(
c
81011006
.
rmop
)
e1
:
SetOperation
(
c
m
.
rmop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--tograve
--tograve
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
81011006
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_REMOVED
)
e2
:
SetRange
(
LOCATION_REMOVED
)
e2
:
SetCode
(
EVENT_REMOVE
)
e2
:
SetCode
(
EVENT_REMOVE
)
e2
:
SetCountLimit
(
1
,
81011906
)
e2
:
SetCountLimit
(
1
,
m
+
900
)
e2
:
SetCondition
(
c
81011006
.
tgcon
)
e2
:
SetCondition
(
c
m
.
tgcon
)
e2
:
SetTarget
(
c
81011006
.
tgtg
)
e2
:
SetTarget
(
c
m
.
tgtg
)
e2
:
SetOperation
(
c
81011006
.
tgop
)
e2
:
SetOperation
(
c
m
.
tgop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--spsummon bgm
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCondition
(
cm
.
sumcon
)
e3
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e3
)
end
end
function
c81011006
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
c81011006
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
81011006
,
2
))
end
function
c81011006
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
(
not
c
:
IsType
(
TYPE_TOKEN
))
and
(
not
sg
or
sg
:
FilterCount
(
aux
.
TRUE
,
c
)
==
0
or
sg
:
IsExists
(
Card
.
IsFusionCode
,
1
,
c
,
c
:
GetFusionCode
()))
return
(
not
c
:
IsType
(
TYPE_TOKEN
))
and
(
not
sg
or
sg
:
FilterCount
(
aux
.
TRUE
,
c
)
==
0
or
sg
:
IsExists
(
Card
.
IsFusionCode
,
1
,
c
,
c
:
GetFusionCode
()))
end
end
function
c
81011006
.
costfilter
(
c
,
tp
)
function
c
m
.
costfilter
(
c
,
tp
)
return
c
:
IsAbleToRemoveAsCost
()
and
not
c
:
IsCode
(
81011006
)
return
c
:
IsAbleToRemoveAsCost
()
and
not
c
:
IsCode
(
m
)
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
end
end
function
c
81011006
.
rmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
m
.
rmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
81011006
.
costfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
m
.
costfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
81011006
.
costfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
m
.
costfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c
81011006
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c
m
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsAbleToRemove
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsAbleToRemove
()
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
@@ -64,27 +61,33 @@ function c81011006.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -64,27 +61,33 @@ function c81011006.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
0
)
end
end
function
c
81011006
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
end
function
c
81011006
.
cfilter
(
c
,
tp
)
function
c
m
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
not
c
:
IsCode
(
81011006
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
not
c
:
IsCode
(
m
)
end
end
function
c
81011006
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c
81011006
.
cfilter
,
1
,
nil
,
tp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
return
eg
:
IsExists
(
c
m
.
cfilter
,
1
,
nil
,
tp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
end
end
function
c
81011006
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
m
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
end
function
c
81011006
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
2
))
end
expansions/script/c81011007.lua
View file @
ae565e5d
...
@@ -3,13 +3,6 @@ function c81011007.initial_effect(c)
...
@@ -3,13 +3,6 @@ function c81011007.initial_effect(c)
--link summon
--link summon
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
nil
,
3
,
3
)
aux
.
AddLinkProcedure
(
c
,
nil
,
3
,
3
)
--spsummon bgm
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e0
:
SetCondition
(
c81011007
.
sumcon
)
e0
:
SetOperation
(
c81011007
.
sumsuc
)
c
:
RegisterEffect
(
e0
)
--direct attack
--direct attack
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -32,12 +25,6 @@ function c81011007.initial_effect(c)
...
@@ -32,12 +25,6 @@ function c81011007.initial_effect(c)
e3
:
SetCondition
(
c81011007
.
actcon
)
e3
:
SetCondition
(
c81011007
.
actcon
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c81011007
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
c81011007
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
81011007
,
0
))
end
function
c81011007
.
dircon
(
e
)
function
c81011007
.
dircon
(
e
)
return
e
:
GetHandler
():
GetColumnGroupCount
()
==
0
return
e
:
GetHandler
():
GetColumnGroupCount
()
==
0
end
end
...
...
expansions/script/c81011021.lua
View file @
ae565e5d
...
@@ -5,13 +5,6 @@ function cm.initial_effect(c)
...
@@ -5,13 +5,6 @@ function cm.initial_effect(c)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--spsummon bgm
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e0
:
SetCondition
(
cm
.
sumcon
)
e0
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e0
)
--equip
--equip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
...
@@ -22,12 +15,6 @@ function cm.initial_effect(c)
...
@@ -22,12 +15,6 @@ function cm.initial_effect(c)
e1
:
SetOperation
(
cm
.
eqop
)
e1
:
SetOperation
(
cm
.
eqop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
0
))
end
function
cm
.
eqfilter
(
c
,
tp
)
function
cm
.
eqfilter
(
c
,
tp
)
return
c
:
GetBaseAttack
()
==
0
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
GetBaseAttack
()
==
0
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
...
...
expansions/script/c81013024.lua
View file @
ae565e5d
...
@@ -34,13 +34,6 @@ function c81013024.initial_effect(c)
...
@@ -34,13 +34,6 @@ function c81013024.initial_effect(c)
e2
:
SetTarget
(
c81013024
.
sptg
)
e2
:
SetTarget
(
c81013024
.
sptg
)
e2
:
SetOperation
(
c81013024
.
spop
)
e2
:
SetOperation
(
c81013024
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--spsummon bgm
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCondition
(
c81013024
.
sumcon
)
e3
:
SetOperation
(
c81013024
.
sumsuc
)
c
:
RegisterEffect
(
e3
)
--spsummon condition
--spsummon condition
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -50,12 +43,6 @@ function c81013024.initial_effect(c)
...
@@ -50,12 +43,6 @@ function c81013024.initial_effect(c)
e4
:
SetValue
(
c81013024
.
splimit
)
e4
:
SetValue
(
c81013024
.
splimit
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c81013024
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
c81013024
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
81013024
,
2
))
end
function
c81013024
.
ffiltera
(
c
)
function
c81013024
.
ffiltera
(
c
)
return
c
:
IsFusionType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsFusionAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsLevelBelow
(
9
)
return
c
:
IsFusionType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsFusionAttribute
(
ATTRIBUTE_EARTH
)
and
c
:
IsLevelBelow
(
9
)
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