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
Soulgamer
ygopro-222DIY-cards
Commits
94d1c752
Commit
94d1c752
authored
Jun 19, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rar
parent
7a41eb68
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
expansions/script/c12051011.lua
expansions/script/c12051011.lua
+6
-2
expansions/script/c12051012.lua
expansions/script/c12051012.lua
+1
-1
expansions/script/c12051013.lua
expansions/script/c12051013.lua
+2
-1
No files found.
expansions/script/c12051011.lua
View file @
94d1c752
...
...
@@ -91,14 +91,18 @@ function c12051011.xfilters(c)
return
c
:
GetSequence
()
<
5
end
function
c12051011
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
c12051011
.
xfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
>
0
and
not
Duel
.
IsExistingMatchingCard
(
c12051011
.
xfilters
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
GetMatchingGroupCount
(
c12051011
.
xfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
>
0
and
not
Duel
.
IsExistingMatchingCard
(
c12051011
.
xfilters
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
(
Duel
.
GetFlagEffect
(
tp
,
12051011
)
==
0
or
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
)
end
function
c12051011
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12051011
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
and
e
:
GetHandler
():
IsAbleToRemove
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
RegisterFlagEffect
(
tp
,
12051011
,
RESET_CHAIN
,
0
,
1
)
end
function
c12051011
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
if
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
==
0
then
return
end
if
e
:
GetHandler
():
GetPreviousLocation
()
==
LOCATION_GRAVE
then
Duel
.
RegisterFlagEffect
(
tp
,
12051011
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c12051011
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c12051012.lua
View file @
94d1c752
...
...
@@ -87,7 +87,7 @@ function c12051012.xfilters(c)
return
c
:
GetSequence
()
<
5
end
function
c12051012
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
c12051012
.
xfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
>
0
and
not
Duel
.
IsExistingMatchingCard
(
c12051012
.
xfilters
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
(
Duel
.
GetFlagEffect
(
tp
,
12051012
)
==
0
or
e
:
GetHandler
():
Get
Location
(
LOCATION_HAND
)
)
return
Duel
.
GetMatchingGroupCount
(
c12051012
.
xfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
>
0
and
not
Duel
.
IsExistingMatchingCard
(
c12051012
.
xfilters
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
(
Duel
.
GetFlagEffect
(
tp
,
12051012
)
==
0
or
e
:
GetHandler
():
Is
Location
(
LOCATION_HAND
)
)
end
function
c12051012
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
e
:
GetHandler
():
IsAbleToRemove
()
end
...
...
expansions/script/c12051013.lua
View file @
94d1c752
...
...
@@ -85,7 +85,8 @@ function c12051013.cfilter(c)
end
function
c12051013
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsAbleToHand
()
and
e
:
GetHandler
():
IsAbleToHand
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c12051013
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
e
:
GetHandler
():
IsAbleToHand
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c12051013
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
e
:
GetHandler
():
IsAbleToHand
()
and
Duel
.
GetFlagEffect
(
tp
,
12051013
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
12051013
,
RESET_CHAIN
,
0
,
1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c12051013
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
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