Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-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
GuGu
ygopro-THC-cards
Commits
72011919
Commit
72011919
authored
Jan 29, 2022
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c74561013.lua
parent
d6d55251
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
script/c74561013.lua
script/c74561013.lua
+14
-0
No files found.
script/c74561013.lua
View file @
72011919
...
...
@@ -121,6 +121,20 @@ function cCardno.reop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
e
:
GetLabelObject
()
local
sg
=
g
:
Filter
(
cCardno
.
refilter
,
nil
,
e
:
GetLabel
())
if
sg
:
GetCount
()
<
1
then
return
end
for
i
=
1
,
2
do
local
p
=
tp
if
i
==
2
then
p
=
1
-
tp
end
local
ct
=
sg
:
FilterCount
(
Card
.
IsPreviousControler
,
nil
,
p
)
local
ft
=
Duel
.
GetLocationCount
(
p
,
LOCATION_MZONE
)
if
ft
<
ct
and
ft
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
aux
.
Stringid
(
74561013
,
0
))
local
tg
=
sg
:
Select
(
p
,
ft
,
ft
,
nil
)
for
tc
in
aux
.
Next
(
tg
)
do
Duel
.
ReturnToField
(
tc
)
sg
:
RemoveCard
(
tc
)
end
end
end
for
tc
in
aux
.
Next
(
sg
)
do
Duel
.
ReturnToField
(
tc
)
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