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
YGOPRO-520DIY
ygopro
Commits
cae9248a
Commit
cae9248a
authored
Sep 02, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a78da159
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
script/c87602890.lua
script/c87602890.lua
+1
-3
No files found.
script/c87602890.lua
View file @
cae9248a
...
...
@@ -59,9 +59,7 @@ end
function
c87602890
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
local
att
=
0
if
tc
:
IsFaceup
()
then
att
=
tc
:
GetAttribute
()
end
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
==
0
or
bit
.
band
(
att
,
ATTRIBUTE_LIGHT
)
==
0
then
return
end
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
==
0
or
bit
.
band
(
tc
:
GetPreviousAttributeOnField
(),
ATTRIBUTE_LIGHT
)
==
0
then
return
end
local
lv
=
tc
:
GetOriginalLevel
()
if
tc
:
IsType
(
TYPE_XYZ
)
then
lv
=
tc
:
GetOriginalRank
()
...
...
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