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
REIKAI
ygopro
Commits
986e32d5
Commit
986e32d5
authored
Aug 17, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2369e379
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
script/c88482761.lua
script/c88482761.lua
+7
-3
No files found.
script/c88482761.lua
View file @
986e32d5
...
@@ -78,14 +78,18 @@ function c88482761.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -78,14 +78,18 @@ function c88482761.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c88482761
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c88482761
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c88482761
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
c88482761
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
e
:
SetLabelObject
(
g2
:
GetFirst
())
end
end
function
c88482761
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c88482761
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
==
2
then
if
g
:
GetCount
()
==
2
then
local
c1
=
g
:
GetFirst
()
local
c1
=
g
:
GetFirst
()
local
c2
=
g
:
GetNext
()
local
c2
=
g
:
GetNext
()
if
c1
:
IsControler
(
tp
)
then
c1
,
c2
=
c2
,
c1
end
if
c1
~=
e
:
GetLabelObject
()
then
c1
,
c2
=
c2
,
c1
end
Duel
.
CalculateDamage
(
c1
,
c2
)
if
c1
:
IsControler
(
1
-
tp
)
and
c1
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c1
:
IsImmuneToEffect
(
e
)
and
c2
:
IsControler
(
tp
)
then
Duel
.
CalculateDamage
(
c1
,
c2
)
end
end
end
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