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
14ba4955
Commit
14ba4955
authored
Apr 27, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
d869c05a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expansions/script/c9330005.lua
expansions/script/c9330005.lua
+3
-3
No files found.
expansions/script/c9330005.lua
View file @
14ba4955
...
...
@@ -101,13 +101,13 @@ function c9330005.tdop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
g
:
Select
(
tp
,
1
,
3
,
nil
)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
0
,
REASON_EFFECT
)
>
0
then
if
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
>
0
then
local
sg2
=
Duel
.
GetOperatedGroup
()
if
sg2
:
IsExists
(
c9330005
.
tdfilter
,
1
,
nil
,
tp
)
then
Duel
.
ShuffleDeck
(
tp
)
end
if
sg2
:
IsExists
(
c9330005
.
tdfilter
,
1
,
nil
,
1
-
tp
)
then
Duel
.
ShuffleDeck
(
1
-
tp
)
end
if
sg
:
GetCount
()
==
3
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
if
not
sg2
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
+
LOCATION_EXTRA
)
then
return
end
local
tc
=
g
:
GetFirst
()
local
tc
=
s
g
:
GetFirst
()
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -133,7 +133,7 @@ function c9330005.tdop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetLabelObject
(
tc
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e3
,
tp
)
tc
=
g
:
GetNext
()
tc
=
s
g
:
GetNext
()
end
end
end
...
...
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