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
24f8f17c
Commit
24f8f17c
authored
Jun 18, 2016
by
nekrozar
Committed by
DailyShana
Jun 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
errata Y-Dragon Head,Z-Metal Tank,Heavy Mech Support Platform (#449)
parent
d1433d18
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
14 deletions
+11
-14
c23265594.lua
c23265594.lua
+3
-4
c64500000.lua
c64500000.lua
+4
-5
c65622692.lua
c65622692.lua
+4
-5
No files found.
c23265594.lua
View file @
24f8f17c
...
@@ -32,7 +32,6 @@ function c23265594.initial_effect(c)
...
@@ -32,7 +32,6 @@ function c23265594.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_EQUIP
)
e4
:
SetType
(
EFFECT_TYPE_EQUIP
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e4
:
SetValue
(
500
)
e4
:
SetValue
(
500
)
e4
:
SetCondition
(
c23265594
.
uncon
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--destroy sub
--destroy sub
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
...
@@ -54,10 +53,10 @@ function c23265594.uncon(e)
...
@@ -54,10 +53,10 @@ function c23265594.uncon(e)
return
e
:
GetHandler
():
IsStatus
(
STATUS_UNION
)
return
e
:
GetHandler
():
IsStatus
(
STATUS_UNION
)
end
end
function
c23265594
.
eqlimit
(
e
,
c
)
function
c23265594
.
eqlimit
(
e
,
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsRace
(
RACE_MACHINE
)
or
e
:
GetHandler
():
GetEquipTarget
()
==
c
end
end
function
c23265594
.
filter
(
c
)
function
c23265594
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
GetUnionCount
()
==
0
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_MACHINE
)
end
end
function
c23265594
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c23265594
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c23265594
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c23265594
.
filter
(
chkc
)
end
...
@@ -88,7 +87,7 @@ end
...
@@ -88,7 +87,7 @@ end
function
c23265594
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23265594
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
_ATTACK
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c64500000.lua
View file @
24f8f17c
...
@@ -32,7 +32,6 @@ function c64500000.initial_effect(c)
...
@@ -32,7 +32,6 @@ function c64500000.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_EQUIP
)
e4
:
SetType
(
EFFECT_TYPE_EQUIP
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e4
:
SetValue
(
600
)
e4
:
SetValue
(
600
)
e4
:
SetCondition
(
c64500000
.
uncon
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--destroy sub
--destroy sub
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
...
@@ -54,13 +53,13 @@ function c64500000.uncon(e)
...
@@ -54,13 +53,13 @@ function c64500000.uncon(e)
return
e
:
GetHandler
():
IsStatus
(
STATUS_UNION
)
return
e
:
GetHandler
():
IsStatus
(
STATUS_UNION
)
end
end
function
c64500000
.
repval
(
e
,
re
,
r
,
rp
)
function
c64500000
.
repval
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
return
bit
.
band
(
r
,
REASON_BATTLE
+
REASON_EFFECT
)
~=
0
end
end
function
c64500000
.
eqlimit
(
e
,
c
)
function
c64500000
.
eqlimit
(
e
,
c
)
return
c
:
IsCode
(
62651957
,
65622692
)
return
c
:
IsCode
(
62651957
,
65622692
)
or
e
:
GetHandler
():
GetEquipTarget
()
==
c
end
end
function
c64500000
.
filter
(
c
)
function
c64500000
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
62651957
,
65622692
)
and
c
:
GetUnionCount
()
==
0
return
c
:
IsFaceup
()
and
c
:
IsCode
(
62651957
,
65622692
)
end
end
function
c64500000
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c64500000
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c64500000
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c64500000
.
filter
(
chkc
)
end
...
@@ -91,7 +90,7 @@ end
...
@@ -91,7 +90,7 @@ end
function
c64500000
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64500000
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
_ATTACK
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
...
...
c65622692.lua
View file @
24f8f17c
...
@@ -25,7 +25,6 @@ function c65622692.initial_effect(c)
...
@@ -25,7 +25,6 @@ function c65622692.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetValue
(
400
)
e3
:
SetValue
(
400
)
e3
:
SetCondition
(
c65622692
.
uncon
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--Def up
--Def up
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
@@ -54,13 +53,13 @@ function c65622692.uncon(e)
...
@@ -54,13 +53,13 @@ function c65622692.uncon(e)
return
e
:
GetHandler
():
IsStatus
(
STATUS_UNION
)
return
e
:
GetHandler
():
IsStatus
(
STATUS_UNION
)
end
end
function
c65622692
.
repval
(
e
,
re
,
r
,
rp
)
function
c65622692
.
repval
(
e
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
return
bit
.
band
(
r
,
REASON_BATTLE
+
REASON_EFFECT
)
~=
0
end
end
function
c65622692
.
eqlimit
(
e
,
c
)
function
c65622692
.
eqlimit
(
e
,
c
)
return
c
:
IsCode
(
62651957
)
return
c
:
IsCode
(
62651957
)
or
e
:
GetHandler
():
GetEquipTarget
()
==
c
end
end
function
c65622692
.
filter
(
c
)
function
c65622692
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
62651957
)
and
c
:
GetUnionCount
()
==
0
return
c
:
IsFaceup
()
and
c
:
IsCode
(
62651957
)
end
end
function
c65622692
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c65622692
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c65622692
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c65622692
.
filter
(
chkc
)
end
...
@@ -91,7 +90,7 @@ end
...
@@ -91,7 +90,7 @@ end
function
c65622692
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65622692
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
_ATTACK
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
then
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
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