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
5ef8462b
Commit
5ef8462b
authored
Feb 19, 2014
by
Fluorohydride
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix'
parent
52b8b1ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
script/c54773234.lua
script/c54773234.lua
+8
-8
No files found.
script/c54773234.lua
View file @
5ef8462b
...
...
@@ -35,38 +35,38 @@ function c54773234.activate(e,tp,eg,ep,ev,re,r,rp)
if
a
:
IsRelateToBattle
()
then
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e4
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
e4
:
SetValue
(
a
:
GetBaseAttack
())
a
:
RegisterEffect
(
e4
)
a
:
RegisterEffect
(
e4
,
true
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e5
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCode
(
EFFECT_SET_DEFENCE_FINAL
)
e5
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
e5
:
SetValue
(
a
:
GetBaseDefence
())
a
:
RegisterEffect
(
e5
)
a
:
RegisterEffect
(
e5
,
true
)
end
if
d
and
d
:
IsRelateToBattle
()
then
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e6
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e6
:
SetValue
(
d
:
GetBaseAttack
())
e6
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
d
:
RegisterEffect
(
e6
)
d
:
RegisterEffect
(
e6
,
true
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e7
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetCode
(
EFFECT_SET_DEFENCE_FINAL
)
e7
:
SetValue
(
d
:
GetBaseDefence
())
e7
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
d
:
RegisterEffect
(
e7
)
d
:
RegisterEffect
(
e7
,
true
)
end
end
function
c54773234
.
distg
(
e
,
c
)
...
...
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