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
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
MyCard
ygopro-scripts
Commits
7d057f5a
Commit
7d057f5a
authored
Oct 21, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
89b0483b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
c14505685.lua
c14505685.lua
+1
-1
c21686473.lua
c21686473.lua
+1
-1
c30650147.lua
c30650147.lua
+1
-1
c43839002.lua
c43839002.lua
+1
-1
No files found.
c14505685.lua
View file @
7d057f5a
...
@@ -36,7 +36,7 @@ function c14505685.rctg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -36,7 +36,7 @@ function c14505685.rctg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c14505685
.
rcfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c14505685
.
rcfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c14505685
.
rcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c14505685
.
rcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c14505685
.
rcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c14505685
.
rcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
end
function
c14505685
.
rcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14505685
.
rcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
...
c21686473.lua
View file @
7d057f5a
...
@@ -95,7 +95,7 @@ function c21686473.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,7 +95,7 @@ function c21686473.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
bc
:
GetBaseAttack
()
*
2
)
e1
:
SetValue
(
bc
:
GetBaseAttack
()
*
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1f
e0000
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
)
e1
:
SetReset
(
RESET_EVENT
+
0x1f
f0000
+
RESET_PHASE
+
PHASE_DAMAGE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
end
end
...
...
c30650147.lua
View file @
7d057f5a
...
@@ -12,7 +12,7 @@ function c30650147.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c30650147.initial_effect(c)
end
end
function
c30650147
.
filter
(
c
,
tp
)
function
c30650147
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
GetOriginalLevel
()
>
0
and
c
:
IsReleasableByEffect
()
return
c
:
IsFaceup
()
and
c
:
GetOriginalLevel
()
>
0
and
c
:
IsReleasableByEffect
()
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
30650148
,
0x106
,
0x4011
,
0
,
0
,
c
:
GetLevel
(),
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
30650148
,
0x106
,
0x4011
,
0
,
0
,
c
:
Get
Original
Level
(),
RACE_ZOMBIE
,
ATTRIBUTE_DARK
)
end
end
function
c30650147
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c30650147
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c30650147
.
filter
(
chkc
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c30650147
.
filter
(
chkc
,
tp
)
end
...
...
c43839002.lua
View file @
7d057f5a
...
@@ -17,7 +17,7 @@ function c43839002.rmfilter(c,tp)
...
@@ -17,7 +17,7 @@ function c43839002.rmfilter(c,tp)
and
Duel
.
IsExistingMatchingCard
(
c43839002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
)
and
Duel
.
IsExistingMatchingCard
(
c43839002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
)
end
end
function
c43839002
.
thfilter
(
c
,
rc
)
function
c43839002
.
thfilter
(
c
,
rc
)
return
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
GetAttack
()
<
rc
:
GetBaseAttack
()
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
GetAttack
()
>=
0
and
c
:
GetAttack
()
<
rc
:
GetBaseAttack
()
and
c
:
IsAbleToHand
()
end
end
function
c43839002
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c43839002
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c43839002
.
rmfilter
(
chkc
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c43839002
.
rmfilter
(
chkc
,
tp
)
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