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
2c759493
Commit
2c759493
authored
May 21, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nmbd
parent
2e0333b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
expansions/script/c12031011.lua
expansions/script/c12031011.lua
+6
-2
No files found.
expansions/script/c12031011.lua
View file @
2c759493
...
...
@@ -63,10 +63,14 @@ function c12031011.thop(e,tp,eg,ep,ev,re,r,rp)
if
not
Duel
.
IsExistingMatchingCard
(
c12031011
.
thfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
nil
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
ct
=
Duel
.
SelectMatchingCard
(
tp
,
c12031011
.
thfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
ct
,
tp
,
REASON_EFFECT
)
if
ct
:
GetFirst
():
IsAbleToHandAsCost
()
then
Duel
.
SendtoHand
(
ct
,
tp
,
REASON_EFFECT
)
else
Duel
.
SendtoDeck
(
ct
,
nil
,
2
,
REASON_EFFECT
)
end
if
c
:
IsCode
(
12031000
)
and
Duel
.
IsExistingMatchingCard
(
c12031011
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
ct
=
Duel
.
SelectMatchingCard
(
tp
,
c12031011
.
thfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
ct
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
ct
,
tp
,
REASON_EFFECT
)
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