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
1f95905d
Commit
1f95905d
authored
Jul 25, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
4d9858b3
Pipeline
#14785
passed with stages
in 33 minutes and 37 seconds
Changes
8
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
10 deletions
+23
-10
expansions/script/c81905002.lua
expansions/script/c81905002.lua
+1
-0
expansions/script/c81905007.lua
expansions/script/c81905007.lua
+3
-3
expansions/script/c81905010.lua
expansions/script/c81905010.lua
+13
-1
expansions/script/c81905011.lua
expansions/script/c81905011.lua
+2
-2
expansions/script/c81905012.lua
expansions/script/c81905012.lua
+1
-1
expansions/script/c81905013.lua
expansions/script/c81905013.lua
+1
-1
expansions/script/c81905016.lua
expansions/script/c81905016.lua
+1
-1
expansions/script/c81905021.lua
expansions/script/c81905021.lua
+1
-1
No files found.
expansions/script/c81905002.lua
View file @
1f95905d
...
@@ -25,6 +25,7 @@ function cm.initial_effect(c)
...
@@ -25,6 +25,7 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
expansions/script/c81905007.lua
View file @
1f95905d
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
--tohand
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e2
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
@@ -37,7 +37,7 @@ function cm.initial_effect(c)
...
@@ -37,7 +37,7 @@ function cm.initial_effect(c)
--XyzSummon
--XyzSummon
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e3
:
SetCategory
(
CATEGORY_
REMOVE
)
e3
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
...
@@ -119,7 +119,7 @@ function cm.xyzop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -119,7 +119,7 @@ function cm.xyzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tg
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tg
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
Duel
.
Hint
(
HINTMSG_SELECT
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINTMSG_SELECT
,
tp
,
HINTMSG_XMATERIAL
)
local
xg
=
mg
2
:
Select
(
tp
,
0
,
2
,
nil
)
local
xg
=
mg
1
:
Select
(
tp
,
0
,
2
,
nil
)
Duel
.
Overlay
(
tc
,
xg
)
Duel
.
Overlay
(
tc
,
xg
)
end
end
end
end
...
...
expansions/script/c81905010.lua
View file @
1f95905d
...
@@ -47,7 +47,8 @@ function cm.initial_effect(c)
...
@@ -47,7 +47,8 @@ function cm.initial_effect(c)
end
end
--spfunctions
--spfunctions
function
cm
.
hspcon
(
e
,
c
)
function
cm
.
hspcon
(
e
,
c
)
return
(
Duel
.
GetMatchingGroupCount
(
Card
.
IsSetCard
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
0x3852
)
>
0
or
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
==
0
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
tp
=
e
:
GetHandler
():
GetOwner
()
return
(
Duel
.
GetMatchingGroupCount
(
Card
.
IsSetCard
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
0x3852
)
>
0
or
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
end
function
cm
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
...
@@ -75,8 +76,19 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,8 +76,19 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
local
rg
=
g2
:
Select
(
tp
,
1
,
1
,
nil
)
local
rg
=
g2
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
cm
.
splimit
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
end
end
function
cm
.
splimit
(
e
,
c
)
return
not
(
c
:
IsAttackBelow
(
1500
)
or
c
:
IsAttackAbove
(
2500
))
end
--functions e3 needs
--functions e3 needs
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
...
...
expansions/script/c81905011.lua
View file @
1f95905d
...
@@ -49,7 +49,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g2
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
)
local
g2
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
)
if
g1
:
GetCount
()
>
0
then
if
g1
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINTMSG_SELECT
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINTMSG_SELECT
,
tp
,
HINTMSG_REMOVE
)
local
rg1
=
g1
:
Select
(
g1
,
1
,
1
,
nil
)
local
rg1
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
if
Duel
.
Remove
(
rg1
,
POS_FACEUP
,
REASON_EFFECT
)
then
if
Duel
.
Remove
(
rg1
,
POS_FACEUP
,
REASON_EFFECT
)
then
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c81905012.lua
View file @
1f95905d
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
--tohand
--tohand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e2
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
expansions/script/c81905013.lua
View file @
1f95905d
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
--negate
--negate
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e4
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_
DESTROY
+
CATEGORY_ATKCHANGE
)
e4
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_
SEARCH
+
CATEGORY_SEARCH
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
...
...
expansions/script/c81905016.lua
View file @
1f95905d
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e22
)
c
:
RegisterEffect
(
e22
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e2
:
SetCategory
(
CATEGORY_S
PECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_S
EARCH
+
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
expansions/script/c81905021.lua
View file @
1f95905d
...
@@ -59,7 +59,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -59,7 +59,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RemoveOverlayCard
(
tp
,
1
,
1
,
1
,
1
,
REASON_COST
)
Duel
.
RemoveOverlayCard
(
tp
,
1
,
1
,
1
,
1
,
REASON_COST
)
end
end
function
cm
.
tgfilter2
(
c
,
e
)
function
cm
.
tgfilter2
(
c
,
e
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
c
:
IsFaceup
()
end
end
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
(),
e
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
(),
e
)
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