Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
a306f8bb
Commit
a306f8bb
authored
Feb 12, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1103 from DailyShana/patch-4
fix
parents
b74a8d77
48a57f1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
script/c61613388.lua
script/c61613388.lua
+5
-2
No files found.
script/c61613388.lua
View file @
a306f8bb
...
@@ -28,12 +28,15 @@ function c61613388.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -28,12 +28,15 @@ function c61613388.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c61613388
.
locfilter
(
c
,
sp
)
return
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsControler
(
sp
)
end
function
c61613388
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61613388
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
Duel
.
SendtoDeck
(
tg
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tg
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
local
ct1
=
Duel
.
GetOperatedGroup
():
FilterCount
(
Card
.
IsControl
er
,
nil
,
tp
)
local
ct1
=
Duel
.
GetOperatedGroup
():
FilterCount
(
c61613388
.
locfilt
er
,
nil
,
tp
)
local
ct2
=
Duel
.
GetOperatedGroup
():
FilterCount
(
Card
.
IsControl
er
,
nil
,
1
-
tp
)
local
ct2
=
Duel
.
GetOperatedGroup
():
FilterCount
(
c61613388
.
locfilt
er
,
nil
,
1
-
tp
)
if
ct1
>
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
then
ct1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
end
if
ct1
>
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
then
ct1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
end
if
ct2
>
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
then
ct2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
end
if
ct2
>
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
then
ct2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
end
if
ct1
<=
0
then
return
end
if
ct1
<=
0
then
return
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