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
bfcd1caa
Commit
bfcd1caa
authored
Apr 22, 2025
by
Satty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
59926522
Pipeline
#35423
passed with stages
in 46 minutes and 20 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
19 deletions
+17
-19
expansions/script/c12877075.lua
expansions/script/c12877075.lua
+2
-1
expansions/script/c18700624.lua
expansions/script/c18700624.lua
+4
-3
expansions/script/c28100045.lua
expansions/script/c28100045.lua
+1
-0
expansions/script/c52302040.lua
expansions/script/c52302040.lua
+1
-1
expansions/script/c53757002.lua
expansions/script/c53757002.lua
+2
-3
expansions/script/c53757004.lua
expansions/script/c53757004.lua
+2
-3
expansions/script/c53757006.lua
expansions/script/c53757006.lua
+2
-3
expansions/script/c53757008.lua
expansions/script/c53757008.lua
+2
-3
expansions/script/c53757010.lua
expansions/script/c53757010.lua
+1
-2
No files found.
expansions/script/c12877075.lua
View file @
bfcd1caa
...
...
@@ -41,7 +41,8 @@ function s.filter(c,tp)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9a7b
)
and
g
:
GetClassCount
(
Card
.
GetCode
)
>=
7
end
function
s
.
tgfilter
(
c
,
code
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x9a7b
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsAbleToRemove
()
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x9a7b
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsAbleToRemove
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
s
.
skitg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c18700624.lua
View file @
bfcd1caa
...
...
@@ -82,14 +82,15 @@ function cm.tfilter2(c,e,tp)
end
function
cm
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
Get
MZoneCount
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
tfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
tfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
)
end
function
cm
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
Get
MZoneCount
(
tp
)
<
1
then
return
end
if
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
<
1
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
2
,
nil
,
e
,
tp
)
local
ct
=
math.min
(
2
,
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
))
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
ct
,
nil
,
e
,
tp
)
if
sg
:
GetCount
()
>
0
then
for
tc
in
aux
.
Next
(
sg
)
do
tc
:
AddMonsterAttribute
(
TYPE_NORMAL
,
ATTRIBUTE_WATER
,
RACE_SPELLCASTER
,
3
,
1000
,
1000
)
...
...
expansions/script/c28100045.lua
View file @
bfcd1caa
...
...
@@ -13,6 +13,7 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
discon
)
e1
:
SetCost
(
s
.
cost
)
e1
:
SetTarget
(
s
.
distg
)
...
...
expansions/script/c52302040.lua
View file @
bfcd1caa
...
...
@@ -46,7 +46,7 @@ function s.operation1(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetCode
(
EFFECT_DISABLE
)
e4
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e4
)
Duel
.
RegisterEffect
(
e4
,
tp
)
end
function
s
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
1
,
nil
,
tp
)
end
...
...
expansions/script/c53757002.lua
View file @
bfcd1caa
...
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_C
HAINING
)
e2
:
SetCode
(
EVENT_C
USTOM
+
53757098
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
cm
.
trcon
)
...
...
@@ -102,8 +102,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
cm
.
trcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
return
tc
:
IsCode
(
m
-
1
)
or
tc
==
e
:
GetHandler
()
return
eg
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
m
-
1
)
or
eg
:
IsContains
(
e
:
GetHandler
())
end
function
cm
.
trtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_ONFIELD
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsAbleToRemove
()
end
...
...
expansions/script/c53757004.lua
View file @
bfcd1caa
...
...
@@ -18,7 +18,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_C
HAINING
)
e2
:
SetCode
(
EVENT_C
USTOM
+
53757098
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
cm
.
trcon
)
...
...
@@ -49,8 +49,7 @@ function cm.pop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
trcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
return
tc
:
IsCode
(
m
-
1
)
or
tc
==
e
:
GetHandler
()
return
eg
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
m
-
1
)
or
eg
:
IsContains
(
e
:
GetHandler
())
end
function
cm
.
cfilter
(
c
,
s
)
if
not
c
:
IsRace
(
RACE_DRAGON
)
or
not
c
:
GetType
()
&
0x20002
~=
0x20002
then
return
false
end
...
...
expansions/script/c53757006.lua
View file @
bfcd1caa
...
...
@@ -21,7 +21,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_C
HAINING
)
e2
:
SetCode
(
EVENT_C
USTOM
+
53757098
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
cm
.
trcon
)
...
...
@@ -45,8 +45,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
cm
.
trcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
return
tc
:
IsCode
(
m
-
1
)
or
tc
==
e
:
GetHandler
()
return
eg
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
m
-
1
)
or
eg
:
IsContains
(
e
:
GetHandler
())
end
function
cm
.
trtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
,
tp
,
POS_FACEDOWN
)
end
...
...
expansions/script/c53757008.lua
View file @
bfcd1caa
...
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_C
HAINING
)
e2
:
SetCode
(
EVENT_C
USTOM
+
53757098
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
cm
.
trcon
)
...
...
@@ -65,8 +65,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
cm
.
trcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
return
tc
:
IsCode
(
m
-
1
)
or
tc
==
e
:
GetHandler
()
return
eg
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
m
-
1
)
or
eg
:
IsContains
(
e
:
GetHandler
())
end
function
cm
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevel
(
3
)
...
...
expansions/script/c53757010.lua
View file @
bfcd1caa
...
...
@@ -59,8 +59,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
trcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
return
tc
:
IsCode
(
m
-
1
)
or
tc
==
e
:
GetHandler
()
return
eg
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
m
-
1
)
or
eg
:
IsContains
(
e
:
GetHandler
())
end
function
cm
.
trtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
true
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