Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Ai
ygopro-222DIY-cards
Commits
db587aca
Commit
db587aca
authored
Sep 09, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
4ccac9d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
expansions/script/c19500029.lua
expansions/script/c19500029.lua
+2
-3
expansions/script/c19500039.lua
expansions/script/c19500039.lua
+9
-6
expansions/script/c33400000.lua
expansions/script/c33400000.lua
+1
-1
No files found.
expansions/script/c19500029.lua
View file @
db587aca
...
@@ -22,16 +22,15 @@ function c19500029.initial_effect(c)
...
@@ -22,16 +22,15 @@ function c19500029.initial_effect(c)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
195000
29
+
100
)
e2
:
SetCountLimit
(
1
,
195000
41
)
e2
:
SetTarget
(
c19500029
.
destg
)
e2
:
SetTarget
(
c19500029
.
destg
)
e2
:
SetOperation
(
c19500029
.
desop
)
e2
:
SetOperation
(
c19500029
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--link off
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
e3
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
e3
:
SetValue
(
1
)
e3
:
SetValue
(
1
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e3
:
SetReset
(
RESET_EVENT
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c19500029
.
lcheck
(
g
,
lc
)
function
c19500029
.
lcheck
(
g
,
lc
)
...
...
expansions/script/c19500039.lua
View file @
db587aca
...
@@ -6,6 +6,7 @@ function c19500039.initial_effect(c)
...
@@ -6,6 +6,7 @@ function c19500039.initial_effect(c)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_DECK
)
e1
:
SetRange
(
LOCATION_DECK
)
e1
:
SetCountLimit
(
1
,
19500039
)
e1
:
SetCondition
(
c19500039
.
spcon
)
e1
:
SetCondition
(
c19500039
.
spcon
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--fusion summon
--fusion summon
...
@@ -19,8 +20,8 @@ function c19500039.initial_effect(c)
...
@@ -19,8 +20,8 @@ function c19500039.initial_effect(c)
e2
:
SetOperation
(
c19500039
.
scop
)
e2
:
SetOperation
(
c19500039
.
scop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
if
not
c19500039
.
global_check
then
if
not
c19500039
.
global_check
then
c19500039
[
0
]
=
0
c19500039
.
global_check
=
true
c19500039
.
global_check
=
true
c19500039
[
0
]
=
0
local
ge1
=
Effect
.
CreateEffect
(
c
)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
ge1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
ge1
:
SetCode
(
EVENT_DESTROYED
)
ge1
:
SetCode
(
EVENT_DESTROYED
)
...
@@ -28,13 +29,14 @@ function c19500039.initial_effect(c)
...
@@ -28,13 +29,14 @@ function c19500039.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
local
ge2
=
Effect
.
CreateEffect
(
c
)
ge2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge2
:
SetCode
(
EVENT_TURN_END
+
PHASE_END
)
ge2
:
SetCode
(
EVENT_PHASE_START
+
PHASE_DRAW
)
ge2
:
SetCountLimit
(
1
)
ge2
:
SetOperation
(
c19500039
.
clear
)
ge2
:
SetOperation
(
c19500039
.
clear
)
Duel
.
RegisterEffect
(
ge2
,
0
)
Duel
.
RegisterEffect
(
ge2
,
0
)
end
end
end
end
function
c19500039
.
cfilter
(
c
)
function
c19500039
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x3
1
90
)
and
c
:
IsPreviousLocation
(
LOCATION_HAND
+
LOCATION_ONFIELD
)
return
c
:
IsSetCard
(
0x3
9
90
)
and
c
:
IsPreviousLocation
(
LOCATION_HAND
+
LOCATION_ONFIELD
)
end
end
function
c19500039
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19500039
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
eg
:
FilterCount
(
c19500039
.
cfilter
,
nil
)
local
ct
=
eg
:
FilterCount
(
c19500039
.
cfilter
,
nil
)
...
@@ -48,13 +50,13 @@ end
...
@@ -48,13 +50,13 @@ end
function
c19500039
.
spcon
(
e
,
c
)
function
c19500039
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c19500039
[
0
]
>
2
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c19500039
[
0
]
>
6
end
end
function
c19500039
.
fselect
(
g
)
function
c19500039
.
fselect
(
g
)
return
g
:
GetClassCount
(
Card
.
GetOriginalCode
)
==
g
:
GetCount
()
return
g
:
GetClassCount
(
Card
.
GetOriginalCode
)
==
g
:
GetCount
()
end
end
function
c19500039
.
costfilter
(
c
,
code
)
function
c19500039
.
costfilter
(
c
,
code
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x3
1
90
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAbleToRemoveAsCost
()
and
not
c
:
IsCode
(
code
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x3
9
90
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAbleToRemoveAsCost
()
and
not
c
:
IsCode
(
code
)
end
end
function
c19500039
.
sccost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c19500039
.
sccost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -70,9 +72,10 @@ function c19500039.filter(c,e,tp)
...
@@ -70,9 +72,10 @@ function c19500039.filter(c,e,tp)
return
c
:
IsCode
(
19500038
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_SYNCHRO
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
return
c
:
IsCode
(
19500038
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_SYNCHRO
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
end
function
c19500039
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c19500039
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
19500039
)
==
0
and
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
and
Duel
.
IsExistingMatchingCard
(
c19500039
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c19500039
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
RegisterFlagEffect
(
tp
,
19500039
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
end
function
c19500039
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19500039
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
end
if
not
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
end
...
...
expansions/script/c33400000.lua
View file @
db587aca
...
@@ -568,7 +568,7 @@ function XY.maganeop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -568,7 +568,7 @@ function XY.maganeop2(e,tp,eg,ep,ev,re,r,rp)
if
g1
:
GetCount
()
>
0
and
Duel
.
SSet
(
tp
,
g1
)
~=
0
then
if
g1
:
GetCount
()
>
0
and
Duel
.
SSet
(
tp
,
g1
)
~=
0
then
local
tc
=
g1
:
GetFirst
()
local
tc
=
g1
:
GetFirst
()
while
tc
do
while
tc
do
local
g
=
c
:
GetColumnGroup
():
FilterCount
(
XY
.
maganetgfilter2
,
nil
,
tp
)
local
g
=
t
c
:
GetColumnGroup
():
FilterCount
(
XY
.
maganetgfilter2
,
nil
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
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