Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
195bc416
Commit
195bc416
authored
Oct 20, 2014
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
c10691144 氷結界の鏡
parent
f1912cc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/c10691144.lua
script/c10691144.lua
+3
-3
No files found.
script/c10691144.lua
View file @
195bc416
...
@@ -38,7 +38,7 @@ function c10691144.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,7 +38,7 @@ function c10691144.rmop(e,tp,eg,ep,ev,re,r,rp)
local
flag
=
e
:
GetLabel
()
local
flag
=
e
:
GetLabel
()
if
bit
.
band
(
flag
,
LOCATION_HAND
)
~=
0
then
if
bit
.
band
(
flag
,
LOCATION_HAND
)
~=
0
then
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_HAND
,
nil
)
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_HAND
,
nil
)
if
rg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
10691144
,
0
))
then
if
rg
:
GetCount
()
>
0
then
local
ct
=
1
local
ct
=
1
if
rg
:
GetCount
()
>
1
then
ct
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
10691144
,
3
),
aux
.
Stringid
(
10691144
,
4
))
+
1
end
if
rg
:
GetCount
()
>
1
then
ct
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
10691144
,
3
),
aux
.
Stringid
(
10691144
,
4
))
+
1
end
g
:
Merge
(
rg
:
RandomSelect
(
tp
,
ct
))
g
:
Merge
(
rg
:
RandomSelect
(
tp
,
ct
))
...
@@ -46,14 +46,14 @@ function c10691144.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,14 +46,14 @@ function c10691144.rmop(e,tp,eg,ep,ev,re,r,rp)
end
end
if
bit
.
band
(
flag
,
LOCATION_ONFIELD
)
~=
0
then
if
bit
.
band
(
flag
,
LOCATION_ONFIELD
)
~=
0
then
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
rg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
10691144
,
1
))
then
if
rg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
g
:
Merge
(
rg
:
Select
(
tp
,
1
,
2
,
nil
))
g
:
Merge
(
rg
:
Select
(
tp
,
1
,
2
,
nil
))
end
end
end
end
if
bit
.
band
(
flag
,
LOCATION_GRAVE
)
~=
0
then
if
bit
.
band
(
flag
,
LOCATION_GRAVE
)
~=
0
then
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
local
rg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
if
rg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
10691144
,
2
))
then
if
rg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
g
:
Merge
(
rg
:
Select
(
tp
,
1
,
2
,
nil
))
g
:
Merge
(
rg
:
Select
(
tp
,
1
,
2
,
nil
))
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