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
xiaoye
ygopro-222DIY-cards
Commits
d304e13e
Commit
d304e13e
authored
Sep 08, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
5851dcd4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
expansions/script/c16150013.lua
expansions/script/c16150013.lua
+2
-1
expansions/script/c45745902.lua
expansions/script/c45745902.lua
+1
-1
expansions/script/c45745911.lua
expansions/script/c45745911.lua
+1
-1
No files found.
expansions/script/c16150013.lua
View file @
d304e13e
...
@@ -26,6 +26,7 @@ function cm.initial_effect(c)
...
@@ -26,6 +26,7 @@ function cm.initial_effect(c)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
cm
.
thcondition
)
e2
:
SetCost
(
cm
.
effcost
)
e2
:
SetCost
(
cm
.
effcost
)
e2
:
SetTarget
(
cm
.
sumtg
)
e2
:
SetTarget
(
cm
.
sumtg
)
e2
:
SetOperation
(
cm
.
sumop
)
e2
:
SetOperation
(
cm
.
sumop
)
...
@@ -68,7 +69,7 @@ end
...
@@ -68,7 +69,7 @@ end
function
cm
.
chainlm
(
e
,
ep
,
tp
)
function
cm
.
chainlm
(
e
,
ep
,
tp
)
return
tp
==
ep
return
tp
==
ep
end
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
th
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
end
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
...
...
expansions/script/c45745902.lua
View file @
d304e13e
...
@@ -131,7 +131,7 @@ function c45745902.eqcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -131,7 +131,7 @@ function c45745902.eqcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
~=
tp
return
Duel
.
GetTurnPlayer
()
~=
tp
end
end
function
c45745902
.
thfilter
(
c
)
function
c45745902
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
,
TYPE_TRAP
)
and
c
:
IsSetCard
(
0x881
)
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSetCard
(
0x881
)
and
c
:
IsAbleToHand
()
end
end
function
c45745902
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c45745902
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c45745902
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c45745902
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c45745911.lua
View file @
d304e13e
...
@@ -86,7 +86,7 @@ function c45745911.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -86,7 +86,7 @@ function c45745911.spcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c45745911
.
filter
(
c
,
e
,
tp
)
function
c45745911
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x881
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
not
c
:
IsCode
(
45745911
)
return
(
c
:
IsSetCard
(
0x881
)
and
c
:
IsType
(
TYPE_SYNCHRO
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
and
not
c
:
IsCode
(
45745911
)
end
end
function
c45745911
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c45745911
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
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