Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
68ed7426
Commit
68ed7426
authored
Aug 21, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
33221871
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
20 additions
and
20 deletions
+20
-20
script/c100417013.lua
script/c100417013.lua
+1
-1
script/c100417014.lua
script/c100417014.lua
+2
-2
script/c100417015.lua
script/c100417015.lua
+2
-2
script/c100417016.lua
script/c100417016.lua
+1
-1
script/c100417017.lua
script/c100417017.lua
+2
-2
script/c100417018.lua
script/c100417018.lua
+2
-2
script/c100417019.lua
script/c100417019.lua
+1
-1
script/c100417020.lua
script/c100417020.lua
+1
-1
script/c100417022.lua
script/c100417022.lua
+2
-2
script/c100417023.lua
script/c100417023.lua
+3
-3
script/c100417024.lua
script/c100417024.lua
+3
-3
No files found.
script/c100417013.lua
View file @
68ed7426
...
...
@@ -31,7 +31,7 @@ function c100417013.filter(c)
return
c
:
IsPreviousLocation
(
LOCATION_GRAVE
)
end
function
c100417013
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
0
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
1
)
end
function
c100417013
.
cfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
100417014
)
...
...
script/c100417014.lua
View file @
68ed7426
...
...
@@ -30,7 +30,7 @@ function c100417014.filter(c)
return
c
:
IsPreviousLocation
(
LOCATION_GRAVE
)
end
function
c100417014
.
effspfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c100417014
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -54,7 +54,7 @@ function c100417014.spcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
~=
tp
and
eg
:
IsExists
(
c100417014
.
filter
,
1
,
nil
)
end
function
c100417014
.
spfilter
(
c
,
e
,
tp
,
mc
)
return
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsType
(
TYPE_XYZ
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
return
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsType
(
TYPE_XYZ
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
end
function
c100417014
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100417015.lua
View file @
68ed7426
...
...
@@ -31,7 +31,7 @@ function c100417015.filter(c)
return
c
:
IsPreviousLocation
(
LOCATION_GRAVE
)
end
function
c100417015
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
0
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
1
)
end
function
c100417015
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
return
Duel
.
IsExistingMatchingCard
(
c100417015
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
...
...
@@ -57,7 +57,7 @@ function c100417015.spcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
~=
tp
and
eg
:
IsExists
(
c100417015
.
filter
,
1
,
nil
)
end
function
c100417015
.
spfilter
(
c
,
e
,
tp
,
mc
)
return
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsType
(
TYPE_XYZ
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
return
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsType
(
TYPE_XYZ
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
end
function
c100417015
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100417016.lua
View file @
68ed7426
...
...
@@ -57,7 +57,7 @@ function c100417016.spcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
~=
tp
and
eg
:
IsExists
(
c100417016
.
filter
,
1
,
nil
)
end
function
c100417016
.
spfilter
(
c
,
e
,
tp
,
mc
)
return
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsType
(
TYPE_XYZ
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
return
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsType
(
TYPE_XYZ
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
end
function
c100417016
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100417017.lua
View file @
68ed7426
...
...
@@ -58,7 +58,7 @@ function c100417017.regop(e,tp,eg,ep,ev,re,r,rp)
end
function
c100417017
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x27
0
)
then
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x27
1
)
then
e
:
GetLabelObject
():
SetLabel
(
1
)
else
e
:
GetLabelObject
():
SetLabel
(
0
)
...
...
@@ -88,7 +88,7 @@ function c100417017.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c100417017
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c100417017
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100417017
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
script/c100417018.lua
View file @
68ed7426
...
...
@@ -41,7 +41,7 @@ function c100417018.initial_effect(c)
end
function
c100417018
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x27
0
)
then
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x27
1
)
then
e
:
GetLabelObject
():
SetLabel
(
1
)
else
e
:
GetLabelObject
():
SetLabel
(
0
)
...
...
@@ -72,7 +72,7 @@ function c100417018.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c100417018
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c100417018
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100417018
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
script/c100417019.lua
View file @
68ed7426
...
...
@@ -59,7 +59,7 @@ function c100417019.regop(e,tp,eg,ep,ev,re,r,rp)
end
function
c100417019
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x27
0
)
then
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x27
1
)
then
e
:
GetLabelObject
():
SetLabel
(
1
)
else
e
:
GetLabelObject
():
SetLabel
(
0
)
...
...
script/c100417020.lua
View file @
68ed7426
...
...
@@ -44,7 +44,7 @@ function c100417020.initial_effect(c)
end
function
c100417020
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x27
0
)
then
if
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x27
1
)
then
e
:
GetLabelObject
():
SetLabel
(
1
)
else
e
:
GetLabelObject
():
SetLabel
(
0
)
...
...
script/c100417022.lua
View file @
68ed7426
...
...
@@ -30,12 +30,12 @@ function c100417022.cfilter(c,code)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
code
)
end
function
c100417022
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
0
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
1
)
and
Duel
.
IsExistingMatchingCard
(
c100417022
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
end
function
c100417022
.
spfilter2
(
c
,
e
,
tp
,
mc
,
att
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0x27
0
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0x27
1
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
and
not
Duel
.
IsExistingMatchingCard
(
c100417022
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
c
:
GetCode
())
end
...
...
script/c100417023.lua
View file @
68ed7426
...
...
@@ -44,13 +44,13 @@ function c100417023.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c100417023
.
eftg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
0
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
1
)
end
function
c100417023
.
efilter
(
e
,
re
,
rp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsSummonLocation
(
LOCATION_GRAVE
)
and
re
:
GetActivateLocation
()
==
LOCATION_MZONE
end
function
c100417023
.
cfilter
(
c
,
tp
,
sumt
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsSummonType
(
sumt
)
and
c
:
IsSummonPlayer
(
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsSummonType
(
sumt
)
and
c
:
IsSummonPlayer
(
tp
)
end
function
c100417023
.
bancon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c100417023
.
cfilter
,
1
,
nil
,
tp
,
SUMMON_TYPE_XYZ
)
...
...
@@ -112,7 +112,7 @@ function c100417023.disop(e,tp,eg,ep,ev,re,r,rp)
end
function
c100417023
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetAttacker
()
return
tc
:
IsSetCard
(
0x27
0
)
and
tc
:
IsControler
(
tp
)
return
tc
:
IsSetCard
(
0x27
1
)
and
tc
:
IsControler
(
tp
)
end
function
c100417023
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
script/c100417024.lua
View file @
68ed7426
...
...
@@ -19,11 +19,11 @@ function c100417024.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
PayLPCost
(
tp
,
800
)
end
function
c100417024
.
spfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
c100417024
.
spfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetCode
())
end
function
c100417024
.
spfilter2
(
c
,
e
,
tp
,
code
)
return
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
aux
.
IsCodeListed
(
c
,
code
)
end
function
c100417024
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -83,5 +83,5 @@ function c100417024.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
end
function
c100417024
.
splimit
(
e
,
c
)
return
not
c
:
IsSetCard
(
0x27
0
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
return
not
c
:
IsSetCard
(
0x27
1
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
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