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
Soulgamer
ygopro-222DIY-cards
Commits
3f8e961a
Commit
3f8e961a
authored
Apr 06, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md
parent
62b9dff9
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
25 additions
and
25 deletions
+25
-25
expansions/pics/31338000.jpg
expansions/pics/31338000.jpg
+0
-0
expansions/pics/81046001.jpg
expansions/pics/81046001.jpg
+0
-0
expansions/script/c33340013.lua
expansions/script/c33340013.lua
+1
-1
expansions/script/c33400810.lua
expansions/script/c33400810.lua
+4
-4
expansions/script/c33400811.lua
expansions/script/c33400811.lua
+4
-4
expansions/script/c33400812.lua
expansions/script/c33400812.lua
+4
-4
expansions/script/c33400813.lua
expansions/script/c33400813.lua
+4
-4
expansions/script/c33400814.lua
expansions/script/c33400814.lua
+4
-4
expansions/script/c33400815.lua
expansions/script/c33400815.lua
+4
-4
No files found.
expansions/pics/31338000.jpg
View replaced file @
62b9dff9
View file @
3f8e961a
59.1 KB
|
W:
|
H:
96.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/pics/81046001.jpg
View replaced file @
62b9dff9
View file @
3f8e961a
43.6 KB
|
W:
|
H:
108 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c33340013.lua
View file @
3f8e961a
...
@@ -29,6 +29,7 @@ function cm.op(e,tp)
...
@@ -29,6 +29,7 @@ function cm.op(e,tp)
local
e8
=
Effect
.
CreateEffect
(
c
)
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e8
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e8
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e8
:
SetLabelObject
(
e7
)
e8
:
SetLabelObject
(
e7
)
e8
:
SetOperation
(
cm
.
spop
)
e8
:
SetOperation
(
cm
.
spop
)
Duel
.
RegisterEffect
(
e8
,
tp
)
Duel
.
RegisterEffect
(
e8
,
tp
)
...
@@ -36,7 +37,6 @@ function cm.op(e,tp)
...
@@ -36,7 +37,6 @@ function cm.op(e,tp)
e9
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e9
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e9
:
SetLabelObject
(
e7
)
e9
:
SetLabelObject
(
e7
)
Duel
.
RegisterEffect
(
e9
,
tp
)
Duel
.
RegisterEffect
(
e9
,
tp
)
Debug
.
Message
(
e9
:
GetLabelObject
())
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
...
...
expansions/script/c33400810.lua
View file @
3f8e961a
...
@@ -40,7 +40,7 @@ function cm.initial_effect(c)
...
@@ -40,7 +40,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
end
end
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
...
@@ -51,12 +51,12 @@ function cm.hspfilter2(c,tp,sc,tc)
...
@@ -51,12 +51,12 @@ function cm.hspfilter2(c,tp,sc,tc)
end
end
function
cm
.
hspcon
(
e
,
c
)
function
cm
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
end
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
tc1
=
g1
:
GetFirst
()
local
tc1
=
g1
:
GetFirst
()
local
g2
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
g2
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
tc2
=
g2
:
GetFirst
()
local
tc2
=
g2
:
GetFirst
()
g2
:
Merge
(
g1
)
g2
:
Merge
(
g1
)
c
:
SetMaterial
(
g2
)
c
:
SetMaterial
(
g2
)
...
...
expansions/script/c33400811.lua
View file @
3f8e961a
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
end
end
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
...
@@ -50,12 +50,12 @@ function cm.hspfilter2(c,tp,sc,tc)
...
@@ -50,12 +50,12 @@ function cm.hspfilter2(c,tp,sc,tc)
end
end
function
cm
.
hspcon
(
e
,
c
)
function
cm
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
end
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
tc1
=
g1
:
GetFirst
()
local
tc1
=
g1
:
GetFirst
()
local
g2
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
g2
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
tc2
=
g2
:
GetFirst
()
local
tc2
=
g2
:
GetFirst
()
g2
:
Merge
(
g1
)
g2
:
Merge
(
g1
)
c
:
SetMaterial
(
g2
)
c
:
SetMaterial
(
g2
)
...
...
expansions/script/c33400812.lua
View file @
3f8e961a
...
@@ -40,7 +40,7 @@ function cm.initial_effect(c)
...
@@ -40,7 +40,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
end
end
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
...
@@ -51,12 +51,12 @@ function cm.hspfilter2(c,tp,sc,tc)
...
@@ -51,12 +51,12 @@ function cm.hspfilter2(c,tp,sc,tc)
end
end
function
cm
.
hspcon
(
e
,
c
)
function
cm
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
end
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
tc1
=
g1
:
GetFirst
()
local
tc1
=
g1
:
GetFirst
()
local
g2
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
g2
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
tc2
=
g2
:
GetFirst
()
local
tc2
=
g2
:
GetFirst
()
g2
:
Merge
(
g1
)
g2
:
Merge
(
g1
)
c
:
SetMaterial
(
g2
)
c
:
SetMaterial
(
g2
)
...
...
expansions/script/c33400813.lua
View file @
3f8e961a
...
@@ -40,7 +40,7 @@ function cm.initial_effect(c)
...
@@ -40,7 +40,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
return
c
:
IsSetCard
(
0xa341
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
end
end
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
...
@@ -51,12 +51,12 @@ function cm.hspfilter2(c,tp,sc,tc)
...
@@ -51,12 +51,12 @@ function cm.hspfilter2(c,tp,sc,tc)
end
end
function
cm
.
hspcon
(
e
,
c
)
function
cm
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
end
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
tc1
=
g1
:
GetFirst
()
local
tc1
=
g1
:
GetFirst
()
local
g2
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
g2
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
tc2
=
g2
:
GetFirst
()
local
tc2
=
g2
:
GetFirst
()
g2
:
Merge
(
g1
)
g2
:
Merge
(
g1
)
c
:
SetMaterial
(
g2
)
c
:
SetMaterial
(
g2
)
...
...
expansions/script/c33400814.lua
View file @
3f8e961a
...
@@ -70,7 +70,7 @@ end
...
@@ -70,7 +70,7 @@ end
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
return
c
:
IsSetCard
(
0xa341
)
and
c
:
IsType
(
TYPE_FUSION
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
return
c
:
IsSetCard
(
0xa341
)
and
c
:
IsType
(
TYPE_FUSION
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
end
end
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
...
@@ -82,12 +82,12 @@ function cm.hspfilter2(c,tp,sc,tc)
...
@@ -82,12 +82,12 @@ function cm.hspfilter2(c,tp,sc,tc)
end
end
function
cm
.
hspcon
(
e
,
c
)
function
cm
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
end
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
tc1
=
g1
:
GetFirst
()
local
tc1
=
g1
:
GetFirst
()
local
g2
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
g2
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
tc2
=
g2
:
GetFirst
()
local
tc2
=
g2
:
GetFirst
()
g2
:
Merge
(
g1
)
g2
:
Merge
(
g1
)
c
:
SetMaterial
(
g2
)
c
:
SetMaterial
(
g2
)
...
...
expansions/script/c33400815.lua
View file @
3f8e961a
...
@@ -78,7 +78,7 @@ end
...
@@ -78,7 +78,7 @@ end
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
function
cm
.
hspfilter
(
c
,
tp
,
sc
)
return
c
:
IsSetCard
(
0xa341
)
and
c
:
IsType
(
TYPE_FUSION
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
return
c
:
IsSetCard
(
0xa341
)
and
c
:
IsType
(
TYPE_FUSION
)
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
())
==
0
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
10000
)
==
0
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
and
c
:
IsControler
(
tp
)
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
and
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter2
,
1
,
c
,
c
:
GetControler
(),
sc
,
tc
)
end
end
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
function
cm
.
hspfilter2
(
c
,
tp
,
sc
,
tc
)
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
...
@@ -90,12 +90,12 @@ function cm.hspfilter2(c,tp,sc,tc)
...
@@ -90,12 +90,12 @@ function cm.hspfilter2(c,tp,sc,tc)
end
end
function
cm
.
hspcon
(
e
,
c
)
function
cm
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
return
Duel
.
CheckReleaseGroup
(
c
:
GetControler
(),
cm
.
hspfilter
,
1
,
nil
,
c
:
GetControler
(),
c
)
end
end
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
cm
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
g1
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter
,
1
,
1
,
nil
,
tp
,
c
)
local
tc1
=
g1
:
GetFirst
()
local
tc1
=
g1
:
GetFirst
()
local
g2
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
g2
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
hspfilter2
,
1
,
1
,
tc1
,
tp
,
c
,
tc1
)
local
tc2
=
g2
:
GetFirst
()
local
tc2
=
g2
:
GetFirst
()
g2
:
Merge
(
g1
)
g2
:
Merge
(
g1
)
c
:
SetMaterial
(
g2
)
c
:
SetMaterial
(
g2
)
...
...
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