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
bdb3b58c
Commit
bdb3b58c
authored
May 05, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1b1a4525
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
c21454943.lua
c21454943.lua
+2
-2
No files found.
c21454943.lua
View file @
bdb3b58c
...
@@ -45,7 +45,7 @@ function c21454943.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -45,7 +45,7 @@ function c21454943.cost(e,tp,eg,ep,ev,re,r,rp,chk)
elseif
lp
>=
200
then
alp
=
Duel
.
AnnounceNumber
(
tp
,
100
,
200
)
elseif
lp
>=
200
then
alp
=
Duel
.
AnnounceNumber
(
tp
,
100
,
200
)
end
end
Duel
.
PayLPCost
(
tp
,
alp
)
Duel
.
PayLPCost
(
tp
,
alp
)
e
:
SetLabel
(
-
alp
)
e
:
SetLabel
(
alp
)
e
:
GetHandler
():
RegisterFlagEffect
(
21454943
,
RESET_PHASE
+
PHASE_DAMAGE
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
21454943
,
RESET_PHASE
+
PHASE_DAMAGE
,
0
,
1
)
end
end
function
c21454943
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c21454943
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
@@ -62,7 +62,7 @@ function c21454943.operation(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -62,7 +62,7 @@ function c21454943.operation(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
e
:
GetLabel
())
e1
:
SetValue
(
-
e
:
GetLabel
())
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
...
...
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