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
1c7269b9
Commit
1c7269b9
authored
May 08, 2019
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c7a6b8ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
c43959432.lua
c43959432.lua
+3
-3
No files found.
c43959432.lua
View file @
1c7269b9
...
...
@@ -24,6 +24,7 @@ function c43959432.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c43959432
.
atkcon
)
e3
:
SetValue
(
c43959432
.
atkval
)
e3
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
...
...
@@ -61,8 +62,7 @@ function c43959432.activate(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e4
:
SetValue
(
c43959432
.
eqlimit
)
tc
:
RegisterEffect
(
e4
,
true
)
e2
:
SetLabelObject
(
tc
)
e3
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
end
end
function
c43959432
.
poscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -79,7 +79,7 @@ function c43959432.atkcon(e)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SPECIAL
+
1
end
function
c43959432
.
atkval
(
e
,
c
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
:
GetLabelObject
()
if
not
tc
or
tc
:
GetEquipTarget
()
~=
c
then
return
0
end
local
atk
=
tc
:
GetAttack
()
if
atk
<
0
then
atk
=
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