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
d70fa6e2
Commit
d70fa6e2
authored
Aug 11, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bec4e993
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
script/c9765723.lua
script/c9765723.lua
+1
-2
No files found.
script/c9765723.lua
View file @
d70fa6e2
...
@@ -54,12 +54,11 @@ function c9765723.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -54,12 +54,11 @@ function c9765723.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsDestructable
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsDestructable
()
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
if
ph
==
PHASE_DAMAGE
then
return
end
local
b1
=
Duel
.
GetFlagEffect
(
tp
,
9765723
)
==
0
local
b1
=
Duel
.
GetFlagEffect
(
tp
,
9765723
)
==
0
and
Duel
.
IsExistingMatchingCard
(
c9765723
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c9765723
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
Card
.
IsDestructable
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
Card
.
IsDestructable
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b2
=
Duel
.
GetTurnPlayer
()
==
tp
and
ph
==
PHASE_STANDBY
local
b2
=
Duel
.
GetTurnPlayer
()
==
tp
and
ph
==
PHASE_STANDBY
if
(
b1
or
b2
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9765723
,
2
))
then
if
(
b1
or
b2
)
and
ph
~=
PHASE_DAMAGE
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9765723
,
2
))
then
local
op
=
0
local
op
=
0
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9765723
,
0
),
aux
.
Stringid
(
9765723
,
1
))
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9765723
,
0
),
aux
.
Stringid
(
9765723
,
1
))
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9765723
,
0
))
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
9765723
,
0
))
...
...
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