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
2014bce9
Commit
2014bce9
authored
Sep 29, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1bb3ef52
Pipeline
#30121
passed with stages
in 33 minutes and 12 seconds
Changes
16
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
55 additions
and
17 deletions
+55
-17
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/pics/50223270.jpg
expansions/pics/50223270.jpg
+0
-0
expansions/pics/50224185.jpg
expansions/pics/50224185.jpg
+0
-0
expansions/script/c12825612.lua
expansions/script/c12825612.lua
+2
-3
expansions/script/c12825622.lua
expansions/script/c12825622.lua
+1
-1
expansions/script/c12825623.lua
expansions/script/c12825623.lua
+1
-1
expansions/script/c29969185.lua
expansions/script/c29969185.lua
+40
-1
expansions/script/c33401502.lua
expansions/script/c33401502.lua
+1
-1
expansions/script/c33401503.lua
expansions/script/c33401503.lua
+1
-1
expansions/script/c33401504.lua
expansions/script/c33401504.lua
+1
-1
expansions/script/c33401505.lua
expansions/script/c33401505.lua
+2
-2
expansions/script/c33401511.lua
expansions/script/c33401511.lua
+1
-1
expansions/script/c33401512.lua
expansions/script/c33401512.lua
+2
-2
expansions/script/c65830000.lua
expansions/script/c65830000.lua
+1
-1
expansions/script/c79100180.lua
expansions/script/c79100180.lua
+1
-1
expansions/script/c79100210.lua
expansions/script/c79100210.lua
+1
-1
No files found.
expansions/FiNALE.cdb
View file @
2014bce9
No preview for this file type
expansions/pics/50223270.jpg
View replaced file @
1bb3ef52
View file @
2014bce9
93.4 KB
|
W:
|
H:
150 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/pics/50224185.jpg
View replaced file @
1bb3ef52
View file @
2014bce9
72.5 KB
|
W:
|
H:
108 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c12825612.lua
View file @
2014bce9
...
@@ -45,10 +45,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,10 +45,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsChainDisablable
(
ev
)
then
return
false
end
if
not
Duel
.
IsChainDisablable
(
ev
)
then
return
false
end
local
te
,
p
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
local
te
,
p
,
loc
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_LOCATION
)
return
te
and
te
:
GetHandler
():
IsSetCard
(
0x4a76
)
and
te
:
IsActiveType
(
TYPE_MONSTER
)
and
p
==
tp
and
rp
==
1
-
tp
return
te
and
te
:
GetHandler
():
IsSetCard
(
0x4a76
)
and
te
:
IsActiveType
(
TYPE_MONSTER
)
and
p
==
tp
and
rp
==
1
-
tp
and
loc
&
LOCATION_ONFIELD
>
0
end
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
te
,
p
,
loc
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_LOCATION
)
local
te
,
p
,
loc
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_LOCATION
)
...
...
expansions/script/c12825622.lua
View file @
2014bce9
...
@@ -293,7 +293,7 @@ function Chikichikibanban.chikiav(c,propery,cost,con,tg,op,category,cardcode,mes
...
@@ -293,7 +293,7 @@ function Chikichikibanban.chikiav(c,propery,cost,con,tg,op,category,cardcode,mes
e1
:
SetCategory
(
category
)
e1
:
SetCategory
(
category
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
cardcode
)
e1
:
SetCountLimit
(
1
,
cardcode
+
EFFECT_COUNT_CODE_OATH
)
if
propery
then
if
propery
then
e1
:
SetProperty
(
propery
)
e1
:
SetProperty
(
propery
)
end
end
...
...
expansions/script/c12825623.lua
View file @
2014bce9
...
@@ -50,7 +50,7 @@ end
...
@@ -50,7 +50,7 @@ end
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
):
Filter
(
Card
.
IsCanBeEffectTarget
,
nil
,
e
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
):
Filter
(
Card
.
IsCanBeEffectTarget
,
nil
,
e
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
3
end
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
1
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
tg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
3
)
local
tg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
3
)
Duel
.
SetTargetCard
(
tg
)
Duel
.
SetTargetCard
(
tg
)
...
...
expansions/script/c29969185.lua
View file @
2014bce9
...
@@ -8,13 +8,14 @@ function c29969185.initial_effect(c)
...
@@ -8,13 +8,14 @@ function c29969185.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e1
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
spsummon
--
full break
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
29969185
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
29969185
,
1
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e2
:
SetCode
(
EVENT_BATTLE_DAMAGE
)
e2
:
SetCountLimit
(
1
,
299969185
)
e2
:
SetCountLimit
(
1
,
299969185
)
e2
:
SetCondition
(
c29969185
.
descondition
)
e2
:
SetCost
(
c29969185
.
descost
)
e2
:
SetCost
(
c29969185
.
descost
)
e2
:
SetTarget
(
c29969185
.
destg
)
e2
:
SetTarget
(
c29969185
.
destg
)
e2
:
SetOperation
(
c29969185
.
desop
)
e2
:
SetOperation
(
c29969185
.
desop
)
...
@@ -30,6 +31,40 @@ function c29969185.initial_effect(c)
...
@@ -30,6 +31,40 @@ function c29969185.initial_effect(c)
e3
:
SetTarget
(
c29969185
.
sptg
)
e3
:
SetTarget
(
c29969185
.
sptg
)
e3
:
SetOperation
(
c29969185
.
spop
)
e3
:
SetOperation
(
c29969185
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--voice
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e0
:
SetOperation
(
c29969185
.
sumsuc
)
c
:
RegisterEffect
(
e0
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetCondition
(
c29969185
.
leavecon1
)
e4
:
SetOperation
(
c29969185
.
leaveop1
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCategory
(
CATEGORY_DESTROY
)
e5
:
SetCode
(
EVENT_BATTLE_DESTROYING
)
e5
:
SetCondition
(
aux
.
bdocon
)
e5
:
SetOperation
(
c29969185
.
winop
)
c
:
RegisterEffect
(
e5
)
end
function
c29969185
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
29969185
,
3
))
end
function
c29969185
.
leavecon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
GetReasonPlayer
()
==
1
-
tp
end
function
c29969185
.
leaveop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
29969185
,
4
))
end
function
c29969185
.
winop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
29969185
,
6
))
end
end
function
c29969185
.
mfilter0
(
c
)
function
c29969185
.
mfilter0
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
...
@@ -44,6 +79,9 @@ function c29969185.ovfilter(c)
...
@@ -44,6 +79,9 @@ function c29969185.ovfilter(c)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsLevel
(
4
)
and
c
:
IsLevel
(
4
)
end
end
function
c29969185
.
descondition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
~=
tp
and
Duel
.
GetAttackTarget
()
==
nil
end
function
c29969185
.
xyzop
(
e
,
tp
,
chk
)
function
c29969185
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
29969185
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
29969185
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
29969185
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
29969185
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
...
@@ -63,6 +101,7 @@ end
...
@@ -63,6 +101,7 @@ end
function
c29969185
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c29969185
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_ONFIELD
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_ONFIELD
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
29969185
,
5
))
Duel
.
Destroy
(
g
,
REASON_RULE
)
Duel
.
Destroy
(
g
,
REASON_RULE
)
end
end
end
end
...
...
expansions/script/c33401502.lua
View file @
2014bce9
...
@@ -161,7 +161,7 @@ function s.indct(e,re,r,rp)
...
@@ -161,7 +161,7 @@ function s.indct(e,re,r,rp)
end
end
--
--
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
end
...
...
expansions/script/c33401503.lua
View file @
2014bce9
...
@@ -39,7 +39,7 @@ function s.indct(e,re,r,rp)
...
@@ -39,7 +39,7 @@ function s.indct(e,re,r,rp)
end
end
--
--
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
end
--
--
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
...
...
expansions/script/c33401504.lua
View file @
2014bce9
...
@@ -39,7 +39,7 @@ function s.indct(e,re,r,rp)
...
@@ -39,7 +39,7 @@ function s.indct(e,re,r,rp)
end
end
--
--
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
end
--
--
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
...
...
expansions/script/c33401505.lua
View file @
2014bce9
...
@@ -99,7 +99,7 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -99,7 +99,7 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
end
end
end
...
@@ -109,7 +109,7 @@ function s.indct(e,re,r,rp)
...
@@ -109,7 +109,7 @@ function s.indct(e,re,r,rp)
end
end
--
--
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
end
...
...
expansions/script/c33401511.lua
View file @
2014bce9
...
@@ -56,7 +56,7 @@ function s.indct(e,re,r,rp)
...
@@ -56,7 +56,7 @@ function s.indct(e,re,r,rp)
end
end
--
--
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
end
--
--
function
s
.
filter
(
c
,
e
,
tp
)
function
s
.
filter
(
c
,
e
,
tp
)
...
...
expansions/script/c33401512.lua
View file @
2014bce9
...
@@ -59,7 +59,7 @@ function s.acfilter(c)
...
@@ -59,7 +59,7 @@ function s.acfilter(c)
return
c
:
IsCode
(
33401530
)
and
c
:
IsFaceup
()
return
c
:
IsCode
(
33401530
)
and
c
:
IsFaceup
()
end
end
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
end
--
--
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -156,7 +156,7 @@ local c=e:GetHandler()
...
@@ -156,7 +156,7 @@ local c=e:GetHandler()
local
fop
=
ce
:
GetOperation
()
local
fop
=
ce
:
GetOperation
()
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
end
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
end
end
...
...
expansions/script/c65830000.lua
View file @
2014bce9
...
@@ -35,7 +35,7 @@ end
...
@@ -35,7 +35,7 @@ end
function
c65830000
.
filter
(
c
)
function
c65830000
.
filter
(
c
)
return
c
:
Is
Link
SetCard
(
0xa33
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0xa33
)
and
c
:
IsAbleToHand
()
end
end
function
c65830000
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65830000
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65830000
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65830000
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c79100180.lua
View file @
2014bce9
...
@@ -96,7 +96,7 @@ end
...
@@ -96,7 +96,7 @@ end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
if
#
g
>
0
and
Duel
.
SendtoGrave
(
g
,
nil
,
REASON_EFFECT
)
~=
0
then
if
#
g
>
0
and
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
~=
0
then
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
sg
:
GetFirst
()
local
tc
=
sg
:
GetFirst
()
if
tc
then
if
tc
then
...
...
expansions/script/c79100210.lua
View file @
2014bce9
...
@@ -48,7 +48,7 @@ function cm.gccon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function cm.gccon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
end
end
function
cm
.
gctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
gctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
NegateEffectMonsterFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
NegateEffectMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
nil
,
1
,
0
,
0
)
end
end
function
cm
.
gcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
gcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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