Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
MyCard
ygopro-scripts
Commits
f7255a8d
Commit
f7255a8d
authored
Feb 20, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5e7abe0e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
c16255442.lua
c16255442.lua
+4
-3
No files found.
c16255442.lua
View file @
f7255a8d
...
@@ -26,11 +26,12 @@ end
...
@@ -26,11 +26,12 @@ end
function
c16255442
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16255442
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
sg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_DISCARD
)
local
og
=
Duel
.
GetOperatedGroup
()
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
):
GetCount
()
local
ct
=
sg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
):
GetCount
()
local
tg
=
Duel
.
GetMatchingGroup
(
c16255442
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
c16255442
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
og
>
0
and
tg
:
GetCount
()
>=
og
then
if
ct
>
0
and
tg
:
GetCount
()
>=
ct
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sel
=
tg
:
Select
(
tp
,
og
,
og
,
nil
)
local
sel
=
tg
:
Select
(
tp
,
ct
,
ct
,
nil
)
Duel
.
SendtoHand
(
sel
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
sel
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sel
)
Duel
.
ConfirmCards
(
1
-
tp
,
sel
)
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