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
1338b9e3
Commit
1338b9e3
authored
Jun 04, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b9b16259
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
15 deletions
+24
-15
script/c11662742.lua
script/c11662742.lua
+13
-11
script/c2407234.lua
script/c2407234.lua
+5
-2
script/c44811425.lua
script/c44811425.lua
+1
-0
script/c46232525.lua
script/c46232525.lua
+2
-1
script/c57707471.lua
script/c57707471.lua
+1
-1
script/c58551308.lua
script/c58551308.lua
+1
-0
script/c84932271.lua
script/c84932271.lua
+1
-0
No files found.
script/c11662742.lua
View file @
1338b9e3
...
@@ -15,37 +15,39 @@ function c11662742.initial_effect(c)
...
@@ -15,37 +15,39 @@ function c11662742.initial_effect(c)
--selfdes
--selfdes
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetProperty
(
EFFECT_FLAG_AUXILIARY
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EVENT_DAMAGE
)
e3
:
SetCode
(
EVENT_DAMAGE
)
e3
:
SetOperation
(
c11662742
.
dmop
)
;
e3
:
SetOperation
(
c11662742
.
dmop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
11662742
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
11662742
,
0
))
e4
:
SetCategory
(
CATEGORY_DESTROY
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetCode
(
EVENT_BATTLED
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
c11662742
.
descon
)
;
e4
:
SetCondition
(
c11662742
.
descon
)
e4
:
SetTarget
(
c11662742
.
destg
)
;
e4
:
SetTarget
(
c11662742
.
destg
)
e4
:
SetOperation
(
c11662742
.
desop
)
;
e4
:
SetOperation
(
c11662742
.
desop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
11662742
,
0
))
e5
:
SetDescription
(
aux
.
Stringid
(
11662742
,
0
))
e5
:
SetCategory
(
CATEGORY_DESTROY
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetCode
(
EVENT_BATTLED
)
e5
:
SetCode
(
EVENT_BATTLED
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCondition
(
c11662742
.
descon2
)
;
e5
:
SetCondition
(
c11662742
.
descon2
)
e5
:
SetTarget
(
c11662742
.
destg
)
;
e5
:
SetTarget
(
c11662742
.
destg
)
e5
:
SetOperation
(
c11662742
.
desop
)
;
e5
:
SetOperation
(
c11662742
.
desop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
local
e6
=
Effect
.
CreateEffect
(
c
)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetDescription
(
aux
.
Stringid
(
11662742
,
0
))
e6
:
SetDescription
(
aux
.
Stringid
(
11662742
,
0
))
e6
:
SetCategory
(
CATEGORY_DESTROY
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCode
(
EVENT_DAMAGE
)
e6
:
SetCode
(
EVENT_DAMAGE
)
e6
:
SetCondition
(
c11662742
.
descon3
)
;
e6
:
SetCondition
(
c11662742
.
descon3
)
e6
:
SetTarget
(
c11662742
.
destg
)
;
e6
:
SetTarget
(
c11662742
.
destg
)
e6
:
SetOperation
(
c11662742
.
desop
)
;
e6
:
SetOperation
(
c11662742
.
desop
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
function
c11662742
.
dtcon
(
e
,
c
)
function
c11662742
.
dtcon
(
e
,
c
)
...
...
script/c2407234.lua
View file @
1338b9e3
...
@@ -22,12 +22,12 @@ function c2407234.initial_effect(c)
...
@@ -22,12 +22,12 @@ function c2407234.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c2407234
.
xyz_number
=
69
c2407234
.
xyz_number
=
69
function
c2407234
.
filter
(
c
)
function
c2407234
.
neg
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsDisabled
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsDisabled
()
end
end
function
c2407234
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c2407234
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
c2407234
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
c2407234
.
neg
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -43,6 +43,9 @@ function c2407234.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,6 +43,9 @@ function c2407234.negop(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
end
end
function
c2407234
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
end
function
c2407234
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c2407234
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c2407234
.
filter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c2407234
.
filter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c2407234
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c2407234
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
())
end
...
...
script/c44811425.lua
View file @
1338b9e3
...
@@ -3,6 +3,7 @@ function c44811425.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c44811425.initial_effect(c)
--flip
--flip
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_FLIP
)
e1
:
SetOperation
(
c44811425
.
flipop
)
e1
:
SetOperation
(
c44811425
.
flipop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--draw
--draw
...
...
script/c46232525.lua
View file @
1338b9e3
...
@@ -37,10 +37,11 @@ function c46232525.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,10 +37,11 @@ function c46232525.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
if
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
if
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
local
race
=
tc
:
GetRace
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
if
not
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
return
end
if
not
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c46232525
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
:
GetRace
()
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c46232525
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
race
)
local
sc
=
sg
:
GetFirst
()
local
sc
=
sg
:
GetFirst
()
if
sc
then
if
sc
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
script/c57707471.lua
View file @
1338b9e3
...
@@ -45,7 +45,7 @@ function c57707471.xyzcon(e,c,og)
...
@@ -45,7 +45,7 @@ function c57707471.xyzcon(e,c,og)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
local
ct
=-
ft
if
2
<=
ct
then
return
false
end
if
2
<=
ct
then
return
false
end
if
ct
<
1
and
Duel
.
IsExistingMatchingCard
(
c57707471
.
ovfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
,
c
)
then
if
ct
<
1
and
not
og
and
Duel
.
IsExistingMatchingCard
(
c57707471
.
ovfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
,
c
)
then
return
true
return
true
end
end
return
Duel
.
CheckXyzMaterial
(
c
,
nil
,
6
,
2
,
2
,
og
)
return
Duel
.
CheckXyzMaterial
(
c
,
nil
,
6
,
2
,
2
,
og
)
...
...
script/c58551308.lua
View file @
1338b9e3
...
@@ -3,6 +3,7 @@ function c58551308.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c58551308.initial_effect(c)
--flip effect
--flip effect
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_FLIP
)
e1
:
SetOperation
(
c58551308
.
flipop
)
e1
:
SetOperation
(
c58551308
.
flipop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--special summon
--special summon
...
...
script/c84932271.lua
View file @
1338b9e3
...
@@ -3,6 +3,7 @@ function c84932271.initial_effect(c)
...
@@ -3,6 +3,7 @@ function c84932271.initial_effect(c)
--flip effect
--flip effect
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_FLIP
)
e1
:
SetOperation
(
c84932271
.
flipop
)
e1
:
SetOperation
(
c84932271
.
flipop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--special summon
--special summon
...
...
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