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
0a3d11db
Commit
0a3d11db
authored
Nov 08, 2016
by
mercury233
Committed by
DailyShana
Nov 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Call of the Earthbound (#665)
parent
98d9494c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
c65743242.lua
c65743242.lua
+17
-4
No files found.
c65743242.lua
View file @
0a3d11db
...
@@ -14,15 +14,28 @@ function c65743242.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -14,15 +14,28 @@ function c65743242.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65743242
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65743242
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
local
ag
=
eg
:
GetFirst
():
GetAttackableTarget
()
local
ag
,
da
=
eg
:
GetFirst
():
GetAttackableTarget
()
local
at
=
Duel
.
GetAttackTarget
()
local
at
=
Duel
.
GetAttackTarget
()
return
ag
:
IsExists
(
aux
.
TRUE
,
1
,
at
)
return
ag
:
IsExists
(
aux
.
TRUE
,
1
,
at
)
or
(
at
~=
nil
and
da
)
end
end
end
end
function
c65743242
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65743242
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ag
=
eg
:
GetFirst
():
GetAttackableTarget
()
local
ag
,
da
=
eg
:
GetFirst
():
GetAttackableTarget
()
local
at
=
Duel
.
GetAttackTarget
()
local
at
=
Duel
.
GetAttackTarget
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
if
da
and
at
~=
nil
then
local
sel
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
31
)
if
ag
:
IsExists
(
aux
.
TRUE
,
1
,
at
)
then
sel
=
Duel
.
SelectOption
(
tp
,
1213
,
1214
)
else
sel
=
Duel
.
SelectOption
(
tp
,
1213
)
end
if
sel
==
0
then
Duel
.
ChangeAttackTarget
(
nil
)
return
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
549
)
local
g
=
ag
:
Select
(
tp
,
1
,
1
,
at
)
local
g
=
ag
:
Select
(
tp
,
1
,
1
,
at
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
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