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
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-scripts
Commits
f402c83d
Commit
f402c83d
authored
Sep 07, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
21766e4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
c74402414.lua
c74402414.lua
+4
-3
No files found.
c74402414.lua
View file @
f402c83d
...
...
@@ -116,12 +116,13 @@ function c74402414.checkop(e,tp,eg,ep,ev,re,r,rp)
local
ct
=
e
:
GetLabelObject
():
FilterCount
(
c74402414
.
dfilter
,
nil
)
local
c
=
e
:
GetHandler
()
if
c
:
IsDisabled
()
or
not
c
:
IsStatus
(
STATUS_EFFECT_ENABLED
)
or
ct
==
0
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
e
:
SetLabel
(
0
)
else
e
:
SetLabel
(
ct
)
end
end
function
c74402414
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
e
:
GetLabelObject
():
GetLabel
()
==
0
and
c
:
GetPreviousControler
()
==
tp
then
local
ct
=
e
:
GetLabelObject
():
GetLabel
()
if
ct
>
0
and
c
:
GetPreviousControler
()
==
tp
then
Duel
.
Damage
(
tp
,
ct
*
500
,
REASON_EFFECT
)
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