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
Ai
ygopro-222DIY-cards
Commits
77dde0da
Commit
77dde0da
authored
Nov 22, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foo foo
parent
773b0f2a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
+10
-7
expansions/script/c12038000.lua
expansions/script/c12038000.lua
+3
-3
expansions/script/c12045040.lua
expansions/script/c12045040.lua
+2
-2
expansions/script/c16105022.lua
expansions/script/c16105022.lua
+2
-1
expansions/script/c16105024.lua
expansions/script/c16105024.lua
+2
-1
expansions/script/c16105028.lua
expansions/script/c16105028.lua
+1
-0
No files found.
expansions/script/c12038000.lua
View file @
77dde0da
...
...
@@ -119,7 +119,7 @@ function cm.scop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SynchroSummon
(
tp
,
sg
:
GetFirst
(),
nil
)
e
:
GetHandler
():
RegisterFlagEffect
(
code
+
100
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
4
))
e
:
GetHandler
():
RegisterFlagEffect
(
m
+
100
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
4
))
end
end
function
cm
.
xyzfilter
(
c
)
...
...
@@ -135,7 +135,7 @@ function cm.xyzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
XyzSummon
(
tp
,
tg
:
GetFirst
(),
nil
)
e
:
GetHandler
():
RegisterFlagEffect
(
code
+
200
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
5
))
e
:
GetHandler
():
RegisterFlagEffect
(
m
+
200
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
5
))
end
end
function
cm
.
lkfilter
(
c
)
...
...
@@ -151,6 +151,6 @@ function cm.lkop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
LinkSummon
(
tp
,
tc
,
nil
)
e
:
GetHandler
():
RegisterFlagEffect
(
code
+
300
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
6
))
e
:
GetHandler
():
RegisterFlagEffect
(
m
+
300
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
6
))
end
end
\ No newline at end of file
expansions/script/c12045040.lua
View file @
77dde0da
...
...
@@ -49,7 +49,7 @@ end
function
cm
.
nmfilter
(
c
,
code
)
return
c
:
IsCode
(
code
)
and
c
:
IsAbleToDeck
()
end
function
cm
.
dfilter
(
c
,
mc
)
function
cm
.
dfilter
(
c
,
mc
,
tp
)
return
c
:
IsAbleToDeck
()
and
Duel
.
IsExistingTarget
(
cm
.
nmfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
Group
.
FromCards
(
c
,
mc
),
c
:
GetCode
())
end
function
cm
.
gilter
(
g
)
...
...
@@ -59,7 +59,7 @@ function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
dfilter
(
chkc
)
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
Duel
.
IsExistingTarget
(
cm
.
dfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
,
c
)
end
and
Duel
.
IsExistingTarget
(
cm
.
dfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
,
c
,
tp
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_GRAVE
,
0
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
tt
=
g
:
SelectSubGroup
(
tp
,
cm
.
gilter
,
false
,
2
,
2
)
...
...
expansions/script/c16105022.lua
View file @
77dde0da
...
...
@@ -201,6 +201,7 @@ function cm.topop(e,tp,eg,ep,ev,re,r,rp)
local
g1
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_PZONE
,
0
,
nil
)
if
num
~=
g1
:
GetCount
()
then
return
false
end
if
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
==
num
then
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
e
:
GetHandler
():
SetStatus
(
STATUS_EFFECT_ENABLED
,
true
)
end
end
\ No newline at end of file
expansions/script/c16105024.lua
View file @
77dde0da
...
...
@@ -224,6 +224,7 @@ function cm.topop(e,tp,eg,ep,ev,re,r,rp)
local
g1
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_PZONE
,
0
,
nil
)
if
num
~=
g1
:
GetCount
()
then
return
false
end
if
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
==
num
then
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
e
:
GetHandler
():
SetStatus
(
STATUS_EFFECT_ENABLED
,
true
)
end
end
\ No newline at end of file
expansions/script/c16105028.lua
View file @
77dde0da
...
...
@@ -217,5 +217,6 @@ function cm.topop(e,tp,eg,ep,ev,re,r,rp)
if
num
~=
g1
:
GetCount
()
then
return
false
end
if
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
==
num
then
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
e
:
GetHandler
():
SetStatus
(
STATUS_EFFECT_ENABLED
,
true
)
end
end
\ No newline at end of file
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