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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
8598ad25
Commit
8598ad25
authored
Oct 30, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
e540469f
Pipeline
#6544
passed with stages
in 38 minutes and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
49 deletions
+21
-49
expansions/script/c33701112.lua
expansions/script/c33701112.lua
+21
-45
expansions/script/c33711006.lua
expansions/script/c33711006.lua
+0
-4
No files found.
expansions/script/c33701112.lua
View file @
8598ad25
...
...
@@ -2,15 +2,15 @@
function
c33701112
.
initial_effect
(
c
)
--xyz summon
c
:
EnableReviveLimit
()
aux
.
AddXyzProcedureLevelFree
(
c
,
nil
,
c33701112
.
xyzcheck
,
3
,
3
)
aux
.
AddXyzProcedureLevelFree
(
c
,
nil
,
c33701112
.
xyzcheck
,
3
,
3
,
c33701112
.
ovfilter
,
aux
.
Stringid
(
33701112
,
0
),
c33701112
.
xyzop
)
--attribute
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e
2
:
SetCode
(
EFFECT_ADD_ATTRIBUTE
)
e
2
:
SetRange
(
LOCATION_MZONE
)
e
2
:
SetValue
(
0x2f
)
c
:
RegisterEffect
(
e
2
)
local
e
1
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e
1
:
SetCode
(
EFFECT_ADD_ATTRIBUTE
)
e
1
:
SetRange
(
LOCATION_MZONE
)
e
1
:
SetValue
(
0x2f
)
c
:
RegisterEffect
(
e
1
)
--extra material
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
33701112
,
0
))
...
...
@@ -19,8 +19,8 @@ function c33701112.initial_effect(c)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetRange
(
LOCATION_EXTRA
)
e2
:
SetLabelObject
(
c
)
e2
:
SetCondition
(
c33701112
.
xyzcon
)
e2
:
SetOperation
(
c33701112
.
xyzop
)
e2
:
SetCondition
(
c33701112
.
xyzcon
2
)
e2
:
SetOperation
(
c33701112
.
xyzop
2
)
e2
:
SetValue
(
SUMMON_TYPE_XYZ
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_GRANT
)
...
...
@@ -28,32 +28,29 @@ function c33701112.initial_effect(c)
e3
:
SetTargetRange
(
LOCATION_EXTRA
,
0
)
e3
:
SetTarget
(
c33701112
.
mattg
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
--em
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
33701112
,
1
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetRange
(
LOCATION_EXTRA
)
e2
:
SetCondition
(
c33701112
.
xyzcon2
)
e2
:
SetOperation
(
c33701112
.
xyzop2
)
e2
:
SetValue
(
SUMMON_TYPE_XYZ
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e3
)
end
function
c33701112
.
xyzcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetLevel
)
==
1
end
function
c33701112
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsXyzType
(
TYPE_XYZ
)
and
c
:
IsSetCard
(
0x1445
)
end
function
c33701112
.
xyzop
(
e
,
tp
,
chk
,
mc
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
33701112
)
==
0
and
mc
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
mc
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
Duel
.
RegisterFlagEffect
(
tp
,
33701112
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c33701112
.
mattg
(
e
,
c
)
return
c
:
IsSetCard
(
0x1445
)
and
c
:
IsType
(
TYPE_XYZ
)
end
function
c33701112
.
xyzcon
(
e
,
c
,
og
,
lmat
,
min
,
max
)
function
c33701112
.
xyzcon
2
(
e
,
c
,
og
,
lmat
,
min
,
max
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
xc
=
e
:
GetLabelObject
()
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
xc
,
e
:
GetHandler
())
>
0
and
xc
:
IsCanBeXyzMaterial
(
nil
)
end
function
c33701112
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
lmat
,
min
,
max
)
function
c33701112
.
xyzop
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
lmat
,
min
,
max
)
local
xc
=
e
:
GetLabelObject
()
local
mg
=
xc
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
then
...
...
@@ -74,24 +71,3 @@ end
function
c33701112
.
splimit
(
e
,
c
,
tp
,
sumtp
,
sumpos
)
return
bit
.
band
(
sumtp
,
SUMMON_TYPE_XYZ
)
==
SUMMON_TYPE_XYZ
end
function
c33701112
.
xxxfil
(
c
,
e
,
tp
)
return
c
:
IsCanBeXyzMaterial
(
nil
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
e
:
GetHandler
())
>
0
and
c
:
IsSetCard
(
0x1445
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
GetOverlayCount
()
>
0
end
function
c33701112
.
xyzcon2
(
e
,
c
,
og
,
lmat
,
min
,
max
)
if
c
==
nil
then
return
Duel
.
IsExistingMatchingCard
(
c33701112
.
xxxfil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
local
tp
=
c
:
GetControler
()
return
true
end
function
c33701112
.
xyzop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
lmat
,
min
,
max
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c33701112
.
xxxfil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
tc
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
+
REASON_XYZ
)
local
mg
=
tc
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
then
Duel
.
Overlay
(
e
:
GetHandler
(),
mg
)
end
e
:
GetHandler
():
SetMaterial
(
Group
.
FromCards
(
tc
))
Duel
.
Overlay
(
e
:
GetHandler
(),
Group
.
FromCards
(
tc
))
end
expansions/script/c33711006.lua
View file @
8598ad25
...
...
@@ -68,10 +68,6 @@ function c33711006.operation(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsCode
(
ac
)
and
tc
:
IsAbleToHand
()
then
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
if
not
tc
:
IsSetCard
(
0x442
)
then
local
deg
=
Duel
.
GetMatchingGroup
(
c33711006
.
desfilter
,
tp
,
LOCATION_SZONE
,
0
,
nil
)
Duel
.
Destroy
(
deg
,
REASON_EFFECT
)
end
Duel
.
ShuffleHand
(
tp
)
else
Duel
.
DisableShuffleCheck
()
...
...
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