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
a8262201
Commit
a8262201
authored
Sep 16, 2016
by
dest
Committed by
DailyShana
Sep 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Honest (#578)
parent
fbe61f39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
c37742478.lua
c37742478.lua
+3
-3
No files found.
c37742478.lua
View file @
a8262201
...
@@ -38,8 +38,8 @@ function c37742478.condition2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,8 +38,8 @@ function c37742478.condition2(e,tp,eg,ep,ev,re,r,rp)
if
phase
~=
PHASE_DAMAGE
or
Duel
.
IsDamageCalculated
()
then
return
false
end
if
phase
~=
PHASE_DAMAGE
or
Duel
.
IsDamageCalculated
()
then
return
false
end
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
local
d
=
Duel
.
GetAttackTarget
()
return
(
d
~=
nil
and
a
:
GetControler
()
==
tp
and
a
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
a
:
IsRelateToBattle
())
return
d
~=
nil
and
d
:
IsFaceup
()
and
((
a
:
GetControler
()
==
tp
and
a
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
a
:
IsRelateToBattle
())
or
(
d
~=
nil
and
d
:
GetControler
()
==
tp
and
d
:
IsFaceup
()
and
d
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
d
:
IsRelateToBattle
(
))
or
(
d
:
GetControler
()
==
tp
and
d
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
d
:
IsRelateToBattle
()
))
end
end
function
c37742478
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c37742478
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
...
@@ -61,4 +61,4 @@ function c37742478.operation2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -61,4 +61,4 @@ function c37742478.operation2(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetValue
(
a
:
GetAttack
())
e1
:
SetValue
(
a
:
GetAttack
())
d
:
RegisterEffect
(
e1
)
d
:
RegisterEffect
(
e1
)
end
end
end
end
\ No newline at end of file
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