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
95e2d4c9
Commit
95e2d4c9
authored
Oct 02, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
5d73c006
Pipeline
#30159
passed with stages
in 35 minutes and 35 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
27 deletions
+25
-27
expansions/script/c18700028.lua
expansions/script/c18700028.lua
+4
-8
expansions/script/c18700036.lua
expansions/script/c18700036.lua
+3
-2
expansions/script/c33201250.lua
expansions/script/c33201250.lua
+6
-6
expansions/script/c33401500.lua
expansions/script/c33401500.lua
+6
-5
expansions/script/c60010137.lua
expansions/script/c60010137.lua
+3
-3
expansions/script/c65700010.lua
expansions/script/c65700010.lua
+1
-2
expansions/script/c79100140.lua
expansions/script/c79100140.lua
+1
-0
expansions/script/c79100210.lua
expansions/script/c79100210.lua
+1
-1
No files found.
expansions/script/c18700028.lua
View file @
95e2d4c9
...
...
@@ -31,10 +31,8 @@ end
function
cm
.
cfilter
(
c
)
return
(
c
:
IsSetCard
(
0x820
)
and
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
and
c
:
IsType
(
TYPE_FUSION
))
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
or
LOCATION_REMOVED
)
and
cm
.
filter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
())
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
())
end
local
ct
=
1
if
not
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
then
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
ct
,
e
:
GetHandler
())
...
...
@@ -59,10 +57,8 @@ end
function
cm
.
cfilter2
(
c
)
return
(
c
:
IsSetCard
(
0x820
)
and
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
and
c
:
IsType
(
TYPE_FUSION
))
end
function
cm
.
tdtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
or
LOCATION_REMOVED
)
and
cm
.
filter2
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
())
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
function
cm
.
tdtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
())
end
local
ct
=
1
if
not
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter2
,
tp
,
LOCATION_ONFIELD
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
then
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
ct
,
e
:
GetHandler
())
...
...
expansions/script/c18700036.lua
View file @
95e2d4c9
...
...
@@ -102,9 +102,10 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
c
)
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
c
,
c
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
c
,
c
,
e
,
tp
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c33201250.lua
View file @
95e2d4c9
...
...
@@ -185,20 +185,20 @@ function VHisc_Dragonk.xyzsm(ce,ccode)
ce
:
RegisterEffect
(
e10
)
end
--xyz
function
VHisc_Dragonk
.
ovfilter
(
c
,
code
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
code
)
and
c
:
GetEquipGroup
():
IsExists
(
function
(
ec
)
return
ec
:
IsSetCard
(
0xc327
)
end
,
1
,
nil
)
function
VHisc_Dragonk
.
ovfilter
(
c
,
code
,
og
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
code
)
and
c
:
GetEquipGroup
():
IsExists
(
function
(
ec
)
return
ec
:
IsSetCard
(
0xc327
)
end
,
1
,
nil
)
and
(
not
og
or
og
:
IsContains
(
c
))
end
function
VHisc_Dragonk
.
spcon
(
e
,
c
)
function
VHisc_Dragonk
.
spcon
(
e
,
c
,
og
,
min
,
max
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
code
=
e
:
GetLabel
()
local
id
=
e
:
GetHandler
():
GetOriginalCode
()
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
and
Duel
.
IsExistingMatchingCard
(
VHisc_Dragonk
.
ovfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
code
)
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
and
Duel
.
IsExistingMatchingCard
(
VHisc_Dragonk
.
ovfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
code
,
og
)
end
function
VHisc_Dragonk
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
VHisc_Dragonk
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
min
,
max
)
local
code
=
e
:
GetLabel
()
local
id
=
e
:
GetHandler
():
GetOriginalCode
()
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
VHisc_Dragonk
.
ovfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
code
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
VHisc_Dragonk
.
ovfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
code
,
og
)
local
mc
=
g
:
GetFirst
()
local
mg
=
mc
:
GetOverlayGroup
()
local
eqg
=
mc
:
GetEquipGroup
()
...
...
expansions/script/c33401500.lua
View file @
95e2d4c9
...
...
@@ -19,13 +19,11 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
getop
)
c
:
RegisterEffect
(
e4
)
--imm
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetCode
(
EFFECT_CANNOT_BE_BATTLE_TARGET
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetCondition
(
s
.
efcon
)
e3
:
SetValue
(
aux
.
imval
1
)
e3
:
SetValue
(
s
.
efilter
1
)
c
:
RegisterEffect
(
e3
)
--
...
...
@@ -183,6 +181,9 @@ end
function
s
.
efcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
s
.
efconf
,
e
:
GetHandlerPlayer
(),
LOCATION_SZONE
,
0
,
1
,
nil
)
end
function
s
.
efilter1
(
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
end
--
function
s
.
spfilter1
(
c
,
e
,
tp
)
...
...
expansions/script/c60010137.lua
View file @
95e2d4c9
...
...
@@ -106,13 +106,13 @@ function c60010137.decon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c60010137
.
ownerfilter
,
1
,
nil
,
tp
)
end
function
c60010137
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_
ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_
ONFIELD
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_
MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_
MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
c60010137
.
deop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0
,
LOCATION_
ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0
,
LOCATION_
MZONE
,
1
,
1
,
nil
)
if
#
g
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
...
...
expansions/script/c65700010.lua
View file @
95e2d4c9
...
...
@@ -54,8 +54,7 @@ function cm.tgfilter(c,e,tp)
return
c
:
IsCode
(
m
)
and
c
:
GetOriginalCodeRule
()
~=
m
and
(
c
:
IsAbleToGrave
()
or
(
Duel
.
GetMatchingGroupCount
(
Card
.
IsFacedown
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
>=
3
and
c
:
IsCanBeSpecialSummoned
(
e
,
POS_FACEUP
,
tp
,
false
,
false
)))
end
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
)
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c79100140.lua
View file @
95e2d4c9
...
...
@@ -5,6 +5,7 @@ function cm.initial_effect(c)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
cm
.
cost
)
...
...
expansions/script/c79100210.lua
View file @
95e2d4c9
...
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_CONTROL
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetCountLimit
(
1
,
m
+
2
)
e4
:
SetTarget
(
cm
.
gctg2
)
e4
:
SetOperation
(
cm
.
gcop2
)
...
...
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