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
5e4e4706
Commit
5e4e4706
authored
May 31, 2023
by
CubeRuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
a547650d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
11 deletions
+16
-11
expansions/script/c33310509.lua
expansions/script/c33310509.lua
+16
-11
No files found.
expansions/script/c33310509.lua
View file @
5e4e4706
...
...
@@ -68,17 +68,22 @@ function cm.tgop(e,tp)
if
#
g
<=
0
then
return
end
local
tc
,
tc2
local
ct
=
0
::
TOG
::
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
if
#
g
>
0
then
tc
=
g
:
GetMinGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
tc2
=
Duel
.
GetOperatedGroup
():
GetFirst
()
if
tc2
and
tc2
:
IsLocation
(
LOCATION_GRAVE
)
then
ct
=
ct
+
1
end
if
tc2
and
tc2
:
IsSetCard
(
0x55d
)
then
goto
TOG
local
flag
=
true
--::TOG::
while
flag
do
flag
=
false
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
if
#
g
>
0
then
tc
=
g
:
GetMinGroup
(
Card
.
GetSequence
):
GetFirst
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
tc2
=
Duel
.
GetOperatedGroup
():
GetFirst
()
if
tc2
and
tc2
:
IsLocation
(
LOCATION_GRAVE
)
then
ct
=
ct
+
1
end
if
tc2
and
tc2
:
IsSetCard
(
0x55d
)
then
flag
=
true
--goto TOG
end
end
end
Duel
.
BreakEffect
()
...
...
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