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
89a8c44a
Commit
89a8c44a
authored
Aug 30, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
78b2623e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
27 deletions
+18
-27
c36100154.lua
c36100154.lua
+6
-9
c53527835.lua
c53527835.lua
+6
-9
c63035430.lua
c63035430.lua
+6
-9
No files found.
c36100154.lua
View file @
89a8c44a
...
@@ -13,20 +13,17 @@ function c36100154.initial_effect(c)
...
@@ -13,20 +13,17 @@ function c36100154.initial_effect(c)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c36100154
.
atkcon
)
e2
:
SetCondition
(
c36100154
.
atkcon
)
e2
:
SetTarget
(
c36100154
.
atktg
)
e2
:
SetTarget
(
c36100154
.
atktg
)
e2
:
SetValue
(
c36100154
.
atkval
)
e2
:
SetValue
(
1000
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c36100154
.
atkcon
(
e
)
function
c36100154
.
atkcon
(
e
)
c36100154
[
0
]
=
false
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
and
Duel
.
GetAttackTarget
()
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
and
Duel
.
GetAttackTarget
()
end
end
function
c36100154
.
atktg
(
e
,
c
)
function
c36100154
.
atktg
(
e
,
c
)
return
c
==
Duel
.
GetAttacker
()
and
c
:
IsSetCard
(
0x4
)
if
c
~=
Duel
.
GetAttacker
()
or
not
c
:
IsSetCard
(
0x4
)
then
return
false
end
end
function
c36100154
.
atkval
(
e
,
c
)
local
d
=
Duel
.
GetAttackTarget
()
local
d
=
Duel
.
GetAttackTarget
()
if
c
36100154
[
0
]
or
c
:
GetAttack
()
<
d
:
GetAttack
()
then
if
c
:
GetFlagEffect
(
36100154
)
>
0
or
c
:
GetAttack
()
<
d
:
GetAttack
()
then
c
36100154
[
0
]
=
true
c
:
RegisterFlagEffect
(
36100154
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
,
0
,
1
)
return
1000
return
true
else
return
0
end
else
return
false
end
end
end
c53527835.lua
View file @
89a8c44a
...
@@ -13,20 +13,17 @@ function c53527835.initial_effect(c)
...
@@ -13,20 +13,17 @@ function c53527835.initial_effect(c)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c53527835
.
atkcon
)
e2
:
SetCondition
(
c53527835
.
atkcon
)
e2
:
SetTarget
(
c53527835
.
atktg
)
e2
:
SetTarget
(
c53527835
.
atktg
)
e2
:
SetValue
(
c53527835
.
atkval
)
e2
:
SetValue
(
1000
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c53527835
.
atkcon
(
e
)
function
c53527835
.
atkcon
(
e
)
c53527835
[
0
]
=
false
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
and
Duel
.
GetAttackTarget
()
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
and
Duel
.
GetAttackTarget
()
end
end
function
c53527835
.
atktg
(
e
,
c
)
function
c53527835
.
atktg
(
e
,
c
)
return
c
==
Duel
.
GetAttacker
()
and
c
:
IsSetCard
(
0xc008
)
if
c
~=
Duel
.
GetAttacker
()
or
not
c
:
IsSetCard
(
0xc008
)
then
return
false
end
end
function
c53527835
.
atkval
(
e
,
c
)
local
d
=
Duel
.
GetAttackTarget
()
local
d
=
Duel
.
GetAttackTarget
()
if
c
53527835
[
0
]
or
c
:
GetAttack
()
<
d
:
GetAttack
()
then
if
c
:
GetFlagEffect
(
53527835
)
>
0
or
c
:
GetAttack
()
<
d
:
GetAttack
()
then
c
53527835
[
0
]
=
true
c
:
RegisterFlagEffect
(
53527835
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
,
0
,
1
)
return
1000
return
true
else
return
0
end
else
return
false
end
end
end
c63035430.lua
View file @
89a8c44a
...
@@ -13,20 +13,17 @@ function c63035430.initial_effect(c)
...
@@ -13,20 +13,17 @@ function c63035430.initial_effect(c)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c63035430
.
atkcon
)
e2
:
SetCondition
(
c63035430
.
atkcon
)
e2
:
SetTarget
(
c63035430
.
atktg
)
e2
:
SetTarget
(
c63035430
.
atktg
)
e2
:
SetValue
(
c63035430
.
atkval
)
e2
:
SetValue
(
1000
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c63035430
.
atkcon
(
e
)
function
c63035430
.
atkcon
(
e
)
c63035430
[
0
]
=
false
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
and
Duel
.
GetAttackTarget
()
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
and
Duel
.
GetAttackTarget
()
end
end
function
c63035430
.
atktg
(
e
,
c
)
function
c63035430
.
atktg
(
e
,
c
)
return
c
==
Duel
.
GetAttacker
()
and
c
:
IsSetCard
(
0x3008
)
if
c
~=
Duel
.
GetAttacker
()
or
not
c
:
IsSetCard
(
0x3008
)
then
return
false
end
end
function
c63035430
.
atkval
(
e
,
c
)
local
d
=
Duel
.
GetAttackTarget
()
local
d
=
Duel
.
GetAttackTarget
()
if
c
63035430
[
0
]
or
c
:
GetAttack
()
<
d
:
GetAttack
()
then
if
c
:
GetFlagEffect
(
63035430
)
>
0
or
c
:
GetAttack
()
<
d
:
GetAttack
()
then
c
63035430
[
0
]
=
true
c
:
RegisterFlagEffect
(
63035430
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
,
0
,
1
)
return
1000
return
true
else
return
0
end
else
return
false
end
end
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