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
05cbbfce
Commit
05cbbfce
authored
Jan 01, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
33d00147
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
script/c15305240.lua
script/c15305240.lua
+2
-0
script/c31036355.lua
script/c31036355.lua
+2
-0
No files found.
script/c15305240.lua
View file @
05cbbfce
...
...
@@ -23,8 +23,10 @@ function c15305240.activate(e,tp,eg,ep,ev,re,r,rp)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c15305240
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_CONTROL
)
local
g2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsAbleToChangeControler
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g2
)
local
c1
=
g1
:
GetFirst
()
local
c2
=
g2
:
GetFirst
()
Duel
.
SwapControl
(
c1
,
c2
,
0
,
0
)
...
...
script/c31036355.lua
View file @
05cbbfce
...
...
@@ -21,8 +21,10 @@ function c31036355.activate(e,tp,eg,ep,ev,re,r,rp)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToChangeControler
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_CONTROL
)
local
g2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsAbleToChangeControler
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g2
)
local
c1
=
g1
:
GetFirst
()
local
c2
=
g2
:
GetFirst
()
if
Duel
.
SwapControl
(
c1
,
c2
,
0
,
0
)
then
...
...
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