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
1422fd70
Commit
1422fd70
authored
May 10, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2081930b
Pipeline
#36176
failed with stages
in 3 minutes and 6 seconds
Changes
11
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
21 additions
and
17 deletions
+21
-17
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c12866685.lua
expansions/script/c12866685.lua
+1
-4
expansions/script/c16104408.lua
expansions/script/c16104408.lua
+3
-3
expansions/script/c18700748.lua
expansions/script/c18700748.lua
+3
-3
expansions/script/c18700788.lua
expansions/script/c18700788.lua
+2
-1
expansions/script/c18700792.lua
expansions/script/c18700792.lua
+2
-1
expansions/script/c18700796.lua
expansions/script/c18700796.lua
+2
-1
expansions/script/c18700804.lua
expansions/script/c18700804.lua
+2
-1
expansions/script/c18700927.lua
expansions/script/c18700927.lua
+2
-1
expansions/script/c18700931.lua
expansions/script/c18700931.lua
+2
-1
expansions/script/c18701004.lua
expansions/script/c18701004.lua
+2
-1
No files found.
expansions/FiNALE.cdb
View file @
1422fd70
No preview for this file type
expansions/script/c12866685.lua
View file @
1422fd70
...
@@ -22,16 +22,13 @@ function s.initial_effect(c)
...
@@ -22,16 +22,13 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_S
PS
UMMON_SUCCESS
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
id
+
1
)
e2
:
SetCountLimit
(
1
,
id
+
1
)
e2
:
SetCondition
(
s
.
descon
)
e2
:
SetCondition
(
s
.
descon
)
e2
:
SetTarget
(
s
.
destg
)
e2
:
SetTarget
(
s
.
destg
)
e2
:
SetOperation
(
s
.
desop
)
e2
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
lcheck
(
g
,
lc
)
function
s
.
lcheck
(
g
,
lc
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x9a7c
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x9a7c
)
...
...
expansions/script/c16104408.lua
View file @
1422fd70
...
@@ -45,7 +45,7 @@ function cm.sumfilter(c,e,tp)
...
@@ -45,7 +45,7 @@ function cm.sumfilter(c,e,tp)
local
minc
,
maxc
=
c
:
GetTributeRequirement
()
local
minc
,
maxc
=
c
:
GetTributeRequirement
()
res
=
Duel
.
IsPlayerCanSummon
(
tp
,
SUMMON_TYPE_ADVANCE
,
c
)
and
Duel
.
CheckTribute
(
c
,
minc
,
maxc
)
and
not
c
:
IsAbleToExtraAsCost
()
and
c
:
GetOriginalType
()
&
TYPE_SPSUMMON
==
0
and
c
:
GetOriginalType
()
&
TYPE_RITUAL
==
0
res
=
Duel
.
IsPlayerCanSummon
(
tp
,
SUMMON_TYPE_ADVANCE
,
c
)
and
Duel
.
CheckTribute
(
c
,
minc
,
maxc
)
and
not
c
:
IsAbleToExtraAsCost
()
and
c
:
GetOriginalType
()
&
TYPE_SPSUMMON
==
0
and
c
:
GetOriginalType
()
&
TYPE_RITUAL
==
0
end
end
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
and
(
res
or
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
))
and
c
:
IsSetCard
(
0xccb
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
atkfilter1
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
,
c
:
Ge
tAttack
())
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
and
(
res
or
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
))
and
c
:
IsSetCard
(
0xccb
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
atkfilter1
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
,
c
:
GetTex
tAttack
())
end
end
function
cm
.
atkfilter1
(
c
,
atk
)
function
cm
.
atkfilter1
(
c
,
atk
)
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
and
c
:
IsAttackBelow
(
atk
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
and
c
:
IsAttackBelow
(
atk
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
...
@@ -85,7 +85,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,7 +85,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
else
else
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
atkfilter1
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
,
tc
:
GetAttack
())
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
atkfilter1
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
,
tc
:
Get
Text
Attack
())
local
tc1
=
g
:
GetFirst
()
local
tc1
=
g
:
GetFirst
()
while
tc1
do
while
tc1
do
if
tc1
:
IsLocation
(
LOCATION_MZONE
)
and
tc1
:
IsType
(
TYPE_EFFECT
)
then
if
tc1
:
IsLocation
(
LOCATION_MZONE
)
and
tc1
:
IsType
(
TYPE_EFFECT
)
then
...
@@ -126,7 +126,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -126,7 +126,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
doitdis
(
e
,
tp
)
function
cm
.
doitdis
(
e
,
tp
)
local
atk
=
e
:
GetHandler
():
GetAttack
()
local
atk
=
e
:
GetHandler
():
Get
Base
Attack
()
local
g1
=
Duel
.
GetMatchingGroup
(
cm
.
atkfilter1
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
,
atk
)
local
g1
=
Duel
.
GetMatchingGroup
(
cm
.
atkfilter1
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
,
atk
)
if
g1
:
GetCount
()
>
0
then
if
g1
:
GetCount
()
>
0
then
local
tc1
=
g1
:
GetFirst
()
local
tc1
=
g1
:
GetFirst
()
...
...
expansions/script/c18700748.lua
View file @
1422fd70
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
teop
)
e2
:
SetOperation
(
cm
.
teop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e3
:
SetRange
(
LOCATION_EXTRA
)
e3
:
SetRange
(
LOCATION_EXTRA
)
...
@@ -60,8 +60,8 @@ function cm.teop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,8 +60,8 @@ function cm.teop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
b1
=
not
g
:
GetFirst
():
IsForbidden
()
local
b1
=
not
g
:
GetFirst
():
IsForbidden
()
local
op
=
aux
.
SelectFromOptions
(
tp
,
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
m
,
3
)},
{
b1
,
aux
.
Stringid
(
m
,
1
)},
{
true
,
aux
.
Stringid
(
m
,
4
)})
{
true
,
aux
.
Stringid
(
m
,
2
)})
if
op
==
1
then
if
op
==
1
then
Duel
.
MoveToField
(
g
:
GetFirst
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
g
:
GetFirst
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
end
end
...
...
expansions/script/c18700788.lua
View file @
1422fd70
--弹弹软糖骑士饱藏
--弹弹软糖骑士饱藏
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
18700781
)
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_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
@@ -73,7 +74,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,7 +74,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
tc
:
SetEntityCode
(
m
+
2
)
tc
:
SetEntityCode
(
m
+
2
,
true
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
...
...
expansions/script/c18700792.lua
View file @
1422fd70
--脆脆薯片骑士饱藏
--脆脆薯片骑士饱藏
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
18700781
)
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
(
EFFECT_DESTROY_REPLACE
)
e1
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
...
@@ -69,7 +70,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,7 +70,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
tc
:
SetEntityCode
(
m
+
2
)
tc
:
SetEntityCode
(
m
+
2
,
true
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
...
...
expansions/script/c18700796.lua
View file @
1422fd70
--蓬松棉花糖骑士饱藏
--蓬松棉花糖骑士饱藏
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
18700781
)
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_TODECK
)
e1
:
SetCategory
(
CATEGORY_TODECK
)
...
@@ -71,7 +72,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +72,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
tc
:
SetEntityCode
(
m
+
2
)
tc
:
SetEntityCode
(
m
+
2
,
true
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
...
...
expansions/script/c18700804.lua
View file @
1422fd70
--蛋糕王骑士饱藏
--蛋糕王骑士饱藏
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
18700781
)
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_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
@@ -98,7 +99,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -98,7 +99,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
8
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
8
))
tc
:
SetEntityCode
(
m
+
2
)
tc
:
SetEntityCode
(
m
+
2
,
true
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
9
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
9
))
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
...
...
expansions/script/c18700927.lua
View file @
1422fd70
--Gavv-旋转棒棒糖
--Gavv-旋转棒棒糖
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
18700781
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
@@ -70,7 +71,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +71,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
tc
:
SetEntityCode
(
m
+
2
)
tc
:
SetEntityCode
(
m
+
2
,
true
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
...
...
expansions/script/c18700931.lua
View file @
1422fd70
--巧克咚骑士饱藏
--巧克咚骑士饱藏
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
18700935
)
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_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
@@ -71,7 +72,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +72,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
tc
:
SetEntityCode
(
m
+
2
)
tc
:
SetEntityCode
(
m
+
2
,
true
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
...
...
expansions/script/c18701004.lua
View file @
1422fd70
...
@@ -8,6 +8,7 @@ function cm.initial_effect(c)
...
@@ -8,6 +8,7 @@ function cm.initial_effect(c)
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_HAND
+
LOCATION_ONFIELD
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_ONFIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMING_DAMAGE_STEP
+
TIMINGS_CHECK_MONSTER
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
,
TIMING_DAMAGE_STEP
+
TIMINGS_CHECK_MONSTER
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetTarget
(
cm
.
target
)
...
@@ -73,7 +74,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,7 +74,7 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
tc
:
SetEntityCode
(
m
+
2
)
tc
:
SetEntityCode
(
m
+
2
,
true
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
tc
:
ReplaceEffect
(
m
+
2
,
0
,
0
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
Hint
(
10
,
1
,
m
+
2
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
0
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
18700924
,
nil
,
0
,
e
:
GetHandlerPlayer
(),
e
:
GetHandlerPlayer
(),
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