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
890e96a2
Commit
890e96a2
authored
Dec 18, 2014
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #981 from Steeldarkeagel/patch-28
Update c54702678.lua
parents
4358df9f
f5324f30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
script/c54702678.lua
script/c54702678.lua
+5
-6
No files found.
script/c54702678.lua
View file @
890e96a2
...
@@ -41,18 +41,17 @@ function c54702678.discon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,18 +41,17 @@ function c54702678.discon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetAttackTarget
()
and
e
:
GetHandler
()
==
Duel
.
GetAttacker
()
return
Duel
.
GetAttackTarget
()
and
e
:
GetHandler
()
==
Duel
.
GetAttacker
()
end
end
function
c54702678
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c54702678
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
local
bc
=
c
:
GetBattleTarget
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x57a0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x57a0000
)
bc
:
RegisterEffect
(
e1
,
true
)
bc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
0x57a0000
)
e2
:
SetReset
(
RESET_EVENT
+
0x57a0000
)
bc
:
RegisterEffect
(
e2
,
true
)
bc
:
RegisterEffect
(
e2
)
end
end
function
c54702678
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c54702678
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
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