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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
5f60ff72
Commit
5f60ff72
authored
May 02, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
ad6d988b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
expansions/script/c12300009.lua
expansions/script/c12300009.lua
+8
-8
expansions/script/c65001032.lua
expansions/script/c65001032.lua
+2
-1
expansions/script/c65001033.lua
expansions/script/c65001033.lua
+1
-1
No files found.
expansions/script/c12300009.lua
View file @
5f60ff72
...
...
@@ -102,7 +102,7 @@ end
function
c12300009
.
spcd
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
Duel
.
IsExistingMatchingCard
(
c12300009
.
filsp
,
tp
,
LOCATION_FZONE
,
LOCATION_FZONE
,
1
,
nil
)
then
return
false
elseif
Duel
.
GetTurnPlayer
()
==
tp
then
return
true
elseif
Duel
.
Get
CurrentChain
()
==
0
and
Duel
.
Get
TurnPlayer
()
==
tp
then
return
true
elseif
Card
.
GetTurnID
(
c
)
~=
Duel
.
GetTurnCount
()
then
return
false
elseif
c
:
IsPreviousLocation
(
LOCATION_FZONE
)
then
return
true
else
...
...
@@ -187,15 +187,15 @@ function c12300009.spop2(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
c12300009
.
filntr
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
if
#
g
<=
0
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_ADD_SETCODE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_MZONE
)
e1
:
SetValue
(
0x2d3
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
local
scc
=
g
:
GetFirst
()
while
scc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_ADD_SETCODE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_MZONE
)
e1
:
SetValue
(
0x2d3
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
scc
:
RegisterEffect
(
e1
)
scc
=
g
:
GetNext
()
end
...
...
expansions/script/c65001032.lua
View file @
5f60ff72
...
...
@@ -38,7 +38,7 @@ end
function
c65001032
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65001032
.
spcostfil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65001032
.
spcostfil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
function
c65001032
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsSetCard
(
0x6da3
)
...
...
@@ -73,5 +73,6 @@ function c65001032.op(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65001032
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
\ No newline at end of file
expansions/script/c65001033.lua
View file @
5f60ff72
...
...
@@ -37,7 +37,7 @@ end
function
c65001033
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65001033
.
spcostfil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65001033
.
spcostfil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
function
c65001033
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsSetCard
(
0x6da3
)
...
...
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