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
f900e1d2
Commit
f900e1d2
authored
Oct 05, 2017
by
nekrozar
Committed by
DailyShana
Oct 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Graverobber (#943)
parent
2f3c317e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
c61705417.lua
c61705417.lua
+0
-13
No files found.
c61705417.lua
View file @
f900e1d2
...
...
@@ -36,12 +36,6 @@ function c61705417.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetLabelObject
(
tc
)
e1
:
SetReset
(
RESET_EVENT
+
0x5c0000
+
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EFFECT_SEND_REPLACE
)
e2
:
SetTarget
(
c61705417
.
reptg
)
e2
:
SetReset
(
RESET_EVENT
+
0x5c0000
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_CHAINING
)
...
...
@@ -68,13 +62,6 @@ function c61705417.tgop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
e
:
GetLabelObject
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
function
c61705417
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsReason
(
REASON_COST
)
and
c
:
GetControler
()
~=
c
:
GetOwner
()
end
c
:
ResetFlagEffect
(
61705418
)
Duel
.
Damage
(
c
:
GetControler
(),
2000
,
REASON_EFFECT
)
return
false
end
function
c61705417
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
tp
and
re
:
GetHandler
()
==
e
:
GetLabelObject
()
and
re
:
GetHandler
():
GetFlagEffect
(
61705417
)
~=
0
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