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
072ebc69
Commit
072ebc69
authored
Jun 04, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
40b8dbb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
c24731391.lua
c24731391.lua
+1
-7
No files found.
c24731391.lua
View file @
072ebc69
...
@@ -8,7 +8,6 @@ function c24731391.initial_effect(c)
...
@@ -8,7 +8,6 @@ function c24731391.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetLabel
(
tp
)
e1
:
SetValue
(
c24731391
.
val
)
e1
:
SetValue
(
c24731391
.
val
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--target
--target
...
@@ -49,12 +48,7 @@ function c24731391.initial_effect(c)
...
@@ -49,12 +48,7 @@ function c24731391.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c24731391
.
val
(
e
,
re
,
dam
,
r
,
rp
,
rc
)
function
c24731391
.
val
(
e
,
re
,
dam
,
r
,
rp
,
rc
)
if
bit
.
band
(
r
,
REASON_BATTLE
)
>
0
then
return
dam
end
return
dam
/
2
if
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
or
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
then
return
dam
/
2
else
return
dam
end
end
end
function
c24731391
.
filter
(
c
)
function
c24731391
.
filter
(
c
)
return
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsType
(
TYPE_LINK
)
...
...
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