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
f9a16f0c
Commit
f9a16f0c
authored
Sep 15, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b7cd185e
Pipeline
#29797
failed with stages
in 23 minutes and 40 seconds
Changes
18
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
44 additions
and
33 deletions
+44
-33
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/pics/13700019.jpg
expansions/pics/13700019.jpg
+0
-0
expansions/script/c12835102.lua
expansions/script/c12835102.lua
+6
-5
expansions/script/c12835107.lua
expansions/script/c12835107.lua
+3
-2
expansions/script/c12835108.lua
expansions/script/c12835108.lua
+3
-2
expansions/script/c12835109.lua
expansions/script/c12835109.lua
+2
-1
expansions/script/c12835111.lua
expansions/script/c12835111.lua
+0
-1
expansions/script/c16400285.lua
expansions/script/c16400285.lua
+1
-1
expansions/script/c18500003.lua
expansions/script/c18500003.lua
+1
-1
expansions/script/c50224575.lua
expansions/script/c50224575.lua
+1
-1
expansions/script/c60010172.lua
expansions/script/c60010172.lua
+1
-1
expansions/script/c60010184.lua
expansions/script/c60010184.lua
+3
-2
expansions/script/c60010211.lua
expansions/script/c60010211.lua
+0
-1
expansions/script/c60010217.lua
expansions/script/c60010217.lua
+2
-2
expansions/script/c60010218.lua
expansions/script/c60010218.lua
+2
-2
expansions/script/c60010220.lua
expansions/script/c60010220.lua
+2
-2
expansions/script/c62699968.lua
expansions/script/c62699968.lua
+16
-8
expansions/script/c62699969.lua
expansions/script/c62699969.lua
+1
-1
No files found.
expansions/FiNALE.cdb
View file @
f9a16f0c
No preview for this file type
expansions/pics/13700019.jpg
View replaced file @
b7cd185e
View file @
f9a16f0c
45.2 KB
|
W:
|
H:
46.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c12835102.lua
View file @
f9a16f0c
...
@@ -43,6 +43,7 @@ function c12835102.initial_effect(c)
...
@@ -43,6 +43,7 @@ function c12835102.initial_effect(c)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
local
e62
=
e6
:
Clone
()
local
e62
=
e6
:
Clone
()
e62
:
SetCondition
(
c12835102
.
con62
)
e62
:
SetCondition
(
c12835102
.
con62
)
e62
:
SetOperation
(
c12835102
.
op62
)
c
:
RegisterEffect
(
e62
)
c
:
RegisterEffect
(
e62
)
end
end
function
c12835102
.
q
(
c
)
function
c12835102
.
q
(
c
)
...
@@ -89,11 +90,11 @@ function c12835102.con6(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,11 +90,11 @@ function c12835102.con6(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
local
seq
=
tc
:
GetSequence
()
local
seq
=
tc
:
GetSequence
()
local
tp
=
tc
:
GetControler
()
local
tp
=
tc
:
GetControler
()
return
rp
==
1
-
tp
and
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
#
g
>
0
and
g
:
IsContains
(
tc
)
and
c
:
GetFlagEffect
(
12835102
)
==
0
and
((
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)))
return
rp
==
1
-
tp
and
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
#
g
>
0
and
g
:
IsContains
(
tc
)
and
c
:
GetFlagEffect
(
12835102
)
==
0
and
((
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)))
end
end
function
c12835102
.
op6
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12835102
.
op6
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12835102
,
1
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12835102
,
1
))
then
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
128351
14
,
0
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
128351
02
,
0
))
Duel
.
Hint
(
HINT_CARD
,
0
,
12835114
)
Duel
.
Hint
(
HINT_CARD
,
0
,
12835114
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetEquipTarget
()
local
tc
=
c
:
GetEquipTarget
()
...
@@ -122,13 +123,13 @@ function c12835102.con62(e,tp,eg,ep,ev,re,r,rp)
...
@@ -122,13 +123,13 @@ function c12835102.con62(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
local
seq
=
tc
:
GetSequence
()
local
seq
=
tc
:
GetSequence
()
local
tp
=
tc
:
GetControler
()
local
tp
=
tc
:
GetControler
()
if
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
#
g
>
0
and
g
:
IsContains
(
tc
)
then
return
tru
e
end
if
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
and
#
g
>
0
and
g
:
IsContains
(
tc
)
then
return
fals
e
end
return
rp
==
1
-
tp
and
Duel
.
GetFlagEffect
(
tp
,
12835102
)
>
0
and
c
:
GetFlagEffect
(
12835102
)
==
0
and
((
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)))
return
rp
==
1
-
tp
and
Duel
.
GetFlagEffect
(
tp
,
12835102
)
>
0
and
c
:
GetFlagEffect
(
12835102
)
==
0
and
((
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)))
end
end
function
c12835102
.
op62
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12835102
.
op62
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12835102
,
2
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
12835102
,
2
))
then
Duel
.
ResetFlagEffect
(
tp
,
12835102
)
Duel
.
ResetFlagEffect
(
tp
,
12835102
)
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
128351
14
,
0
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
128351
02
,
0
))
Duel
.
Hint
(
HINT_CARD
,
0
,
12835114
)
Duel
.
Hint
(
HINT_CARD
,
0
,
12835114
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetEquipTarget
()
local
tc
=
c
:
GetEquipTarget
()
...
...
expansions/script/c12835107.lua
View file @
f9a16f0c
...
@@ -115,7 +115,8 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -115,7 +115,8 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
movefilter
(
c
)
function
s
.
movefilter
(
c
)
local
seq
=
c
:
GetSequence
()
local
seq
=
c
:
GetSequence
()
return
seq
<=
4
and
c
:
IsCode
(
12835101
)
and
c
:
IsFaceup
()
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
local
tp
=
c
:
GetControler
()
return
seq
<=
4
and
c
:
IsCode
(
12835101
)
and
c
:
IsFaceup
()
and
(
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
or
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
end
end
function
s
.
movecon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
movecon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -129,7 +130,7 @@ function s.moveop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -129,7 +130,7 @@ function s.moveop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e1
:
SetOperation
(
function
()
Duel
.
ResetFlagEffect
(
tp
,
12835100
)
e
:
Reset
()
end
)
e1
:
SetOperation
(
function
(
e
,
tp
)
Duel
.
ResetFlagEffect
(
tp
,
12835100
)
e
:
Reset
()
end
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
seq
=
tc
:
GetSequence
()
local
seq
=
tc
:
GetSequence
()
...
...
expansions/script/c12835108.lua
View file @
f9a16f0c
...
@@ -115,7 +115,8 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -115,7 +115,8 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
movefilter
(
c
)
function
s
.
movefilter
(
c
)
local
seq
=
c
:
GetSequence
()
local
seq
=
c
:
GetSequence
()
return
seq
<=
4
and
c
:
IsCode
(
12835101
)
and
c
:
IsFaceup
()
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
local
tp
=
c
:
GetControler
()
return
seq
<=
4
and
seq
>
0
and
c
:
IsCode
(
12835101
)
and
c
:
IsFaceup
()
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
end
end
function
s
.
movecon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
movecon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -129,7 +130,7 @@ function s.moveop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -129,7 +130,7 @@ function s.moveop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e1
:
SetOperation
(
function
()
Duel
.
ResetFlagEffect
(
tp
,
12835100
)
e
:
Reset
()
end
)
e1
:
SetOperation
(
function
(
e
,
tp
)
Duel
.
ResetFlagEffect
(
tp
,
12835100
)
e
:
Reset
()
end
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
seq
=
tc
:
GetSequence
()
local
seq
=
tc
:
GetSequence
()
...
...
expansions/script/c12835109.lua
View file @
f9a16f0c
...
@@ -115,6 +115,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -115,6 +115,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
movefilter
(
c
)
function
s
.
movefilter
(
c
)
local
seq
=
c
:
GetSequence
()
local
seq
=
c
:
GetSequence
()
local
tp
=
c
:
GetControler
()
return
seq
<
4
and
c
:
IsCode
(
12835101
)
and
c
:
IsFaceup
()
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
return
seq
<
4
and
c
:
IsCode
(
12835101
)
and
c
:
IsFaceup
()
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
end
end
function
s
.
movecon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
movecon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -129,7 +130,7 @@ function s.moveop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -129,7 +130,7 @@ function s.moveop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e1
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e1
:
SetOperation
(
function
()
Duel
.
ResetFlagEffect
(
tp
,
12835100
)
e
:
Reset
()
end
)
e1
:
SetOperation
(
function
(
e
,
tp
)
Duel
.
ResetFlagEffect
(
tp
,
12835100
)
e
:
Reset
()
end
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
seq
=
tc
:
GetSequence
()
local
seq
=
tc
:
GetSequence
()
...
...
expansions/script/c12835111.lua
View file @
f9a16f0c
...
@@ -4,7 +4,6 @@ function s.initial_effect(c)
...
@@ -4,7 +4,6 @@ function s.initial_effect(c)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
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
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
...
...
expansions/script/c16400285.lua
View file @
f9a16f0c
...
@@ -20,7 +20,7 @@ function c16400285.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c16400285.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetValue
(
7
00
)
e3
:
SetValue
(
5
00
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--Untargetable
--Untargetable
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c18500003.lua
View file @
f9a16f0c
...
@@ -23,7 +23,7 @@ function c18500003.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c18500003.initial_effect(c)
--SPECIALSUMMON
--SPECIALSUMMON
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_
QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_
IGNITION
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetRange
(
LOCATION_HAND
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCountLimit
(
1
,
cm
)
e3
:
SetCountLimit
(
1
,
cm
)
...
...
expansions/script/c50224575.lua
View file @
f9a16f0c
...
@@ -6,7 +6,7 @@ function c50224575.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c50224575.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
50224575
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
50224575
)
e1
:
SetTarget
(
c50224575
.
target
)
e1
:
SetTarget
(
c50224575
.
target
)
e1
:
SetOperation
(
c50224575
.
activate
)
e1
:
SetOperation
(
c50224575
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c60010172.lua
View file @
f9a16f0c
...
@@ -51,7 +51,7 @@ function cm.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function cm.mtop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
ConfirmDecktop
(
tp
,
5
)
Duel
.
ConfirmDecktop
(
tp
,
5
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
local
ct
=
g
:
Filter
Count
(
Card
.
IsSetCard
,
nil
,
0x3620
):
FilterCount
(
Card
.
IsAttribute
,
nil
,
ATTRIBUTE_FIRE
)
local
ct
=
g
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x3620
):
FilterCount
(
Card
.
IsAttribute
,
nil
,
ATTRIBUTE_FIRE
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
if
ct
>
1
then
if
ct
>
1
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c60010184.lua
View file @
f9a16f0c
...
@@ -17,7 +17,8 @@ function cm.initial_effect(c)
...
@@ -17,7 +17,8 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCountLimit
(
1
,
m
+
10000000
)
e1
:
SetCountLimit
(
1
,
m
+
10000000
)
e1
:
SetTarget
(
cm
.
sptg
)
e1
:
SetTarget
(
cm
.
sptg
)
...
@@ -45,7 +46,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +46,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
desfilter
(
c
)
function
cm
.
desfilter
(
c
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsSetCard
(
0x3620
)
return
c
:
IsSetCard
(
0x3620
)
end
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
cm
.
desfilter
(
chkc
,
tp
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
cm
.
desfilter
(
chkc
,
tp
)
end
...
...
expansions/script/c60010211.lua
View file @
f9a16f0c
...
@@ -38,7 +38,6 @@ function cm.initial_effect(c)
...
@@ -38,7 +38,6 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
spop
)
e3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetCondition
(
cm
.
spcon2
)
e4
:
SetCondition
(
cm
.
spcon2
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
...
expansions/script/c60010217.lua
View file @
f9a16f0c
...
@@ -31,7 +31,7 @@ function cm.initial_effect(c)
...
@@ -31,7 +31,7 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
spop
)
e3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EVENT_
TO_GRAVE
)
e4
:
SetCode
(
EVENT_
DESTROYED
)
e4
:
SetCondition
(
cm
.
spcon2
)
e4
:
SetCondition
(
cm
.
spcon2
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
@@ -68,7 +68,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,7 +68,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
end
function
cm
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_
DESTROY
)
and
e
:
GetHandler
():
IsReason
(
REASON_
BATTLE
+
REASON_EFFECT
)
return
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
end
end
function
cm
.
filter2
(
c
)
function
cm
.
filter2
(
c
)
return
c
:
IsSetCard
(
0x3620
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x3620
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c60010218.lua
View file @
f9a16f0c
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
...
@@ -39,7 +39,7 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
spop
)
e3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EVENT_
TO_GRAVE
)
e4
:
SetCode
(
EVENT_
DESTROYED
)
e4
:
SetCondition
(
cm
.
spcon2
)
e4
:
SetCondition
(
cm
.
spcon2
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
...
@@ -93,7 +93,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,7 +93,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
end
function
cm
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_
DESTROY
)
and
e
:
GetHandler
():
IsReason
(
REASON_
BATTLE
+
REASON_EFFECT
)
return
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
end
end
function
cm
.
filter2
(
c
)
function
cm
.
filter2
(
c
)
return
c
:
IsSetCard
(
0x3620
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x3620
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c60010220.lua
View file @
f9a16f0c
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
spop
)
e3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EVENT_
TO_GRAVE
)
e4
:
SetCode
(
EVENT_
DESTROYED
)
e4
:
SetCondition
(
cm
.
spcon2
)
e4
:
SetCondition
(
cm
.
spcon2
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
...
@@ -108,7 +108,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -108,7 +108,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
end
function
cm
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_
DESTROY
)
and
e
:
GetHandler
():
IsReason
(
REASON_
BATTLE
+
REASON_EFFECT
)
return
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
end
end
function
cm
.
filter2
(
c
)
function
cm
.
filter2
(
c
)
return
c
:
IsSetCard
(
0x3620
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x3620
)
and
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c62699968.lua
View file @
f9a16f0c
...
@@ -44,7 +44,7 @@ function c62699968.initial_effect(c)
...
@@ -44,7 +44,7 @@ function c62699968.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--Destroy
--Destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetCode
(
EVENT_DESTROYED
)
...
@@ -123,26 +123,34 @@ end
...
@@ -123,26 +123,34 @@ end
function
c62699968
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62699968
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
end
end
function
c62699968
.
setfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x6df
)
and
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
(
c
:
IsSSetable
())
or
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
))
end
function
c62699968
.
destg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c62699968
.
destg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
sg
=
Duel
.
GetMatchingGroup
(
c62699968
.
setfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
c62699968
.
setfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
,
e
,
tp
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
#
sg
>
0
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
#
sg
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
end
function
c62699968
.
setfilter
(
c
)
return
c
:
IsSetCard
(
0x6df
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
end
function
c62699968
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62699968
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c62699968
.
setfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c62699968
.
setfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
,
e
,
tp
)
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SSet
(
tp
,
sg
)
if
sc
then
if
sc
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
Duel
.
ConfirmCards
(
1
-
tp
,
sc
)
elseif
sc
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
then
Duel
.
SSet
(
tp
,
sc
)
end
end
end
end
end
end
end
end
\ No newline at end of file
expansions/script/c62699969.lua
View file @
f9a16f0c
...
@@ -39,7 +39,7 @@ function c62699969.counterfilter(c)
...
@@ -39,7 +39,7 @@ function c62699969.counterfilter(c)
return
c
:
IsSetCard
(
0x6df
)
return
c
:
IsSetCard
(
0x6df
)
end
end
function
c62699969
.
mfilter
(
c
)
function
c62699969
.
mfilter
(
c
)
return
c
:
IsLinkCode
(
62699999
,
62699988
,
62699979
)
return
c
:
IsLinkCode
(
62699999
,
62699988
,
62699979
,
62699969
)
end
end
function
c62699969
.
spcost
(
e
,
c
,
tp
)
function
c62699969
.
spcost
(
e
,
c
,
tp
)
return
Duel
.
GetCustomActivityCount
(
62699969
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
return
Duel
.
GetCustomActivityCount
(
62699969
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
...
...
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