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
9eb5ee84
Commit
9eb5ee84
authored
Oct 08, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
77150787
Pipeline
#40936
failed with stages
in 8 minutes and 15 seconds
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
9 deletions
+17
-9
expansions/script/c12070047.lua
expansions/script/c12070047.lua
+4
-3
expansions/script/c12400165.lua
expansions/script/c12400165.lua
+8
-0
expansions/script/c16311065.lua
expansions/script/c16311065.lua
+1
-1
expansions/script/c50224150.lua
expansions/script/c50224150.lua
+2
-3
expansions/script/c50224910.lua
expansions/script/c50224910.lua
+2
-2
No files found.
expansions/script/c12070047.lua
View file @
9eb5ee84
...
...
@@ -80,12 +80,13 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVEXYZ
)
local
g
=
og
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
RaiseSingleEvent
(
c
,
EVENT_DETACH_MATERIAL
,
e
,
0
,
0
,
0
,
0
)
g
:
KeepAlive
()
Duel
.
RaiseSingleEvent
(
e
:
GetHandler
(),
EVENT_DETACH_MATERIAL
,
e
,
0
,
0
,
0
,
0
)
e
:
SetLabelObject
(
g
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
IsCostChecked
()
end
local
ct
=
e
:
GetLabelObject
():
GetCount
()
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1200
*
ct
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
1200
*
ct
)
...
...
@@ -99,7 +100,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
#
tg
>
0
then
local
tc
=
tg
:
GetFirst
()
while
tc
do
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
...
...
expansions/script/c12400165.lua
View file @
9eb5ee84
...
...
@@ -10,6 +10,14 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
target
)
e2
:
SetValue
(
s
.
atkval
)
c
:
RegisterEffect
(
e2
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e4
:
SetTarget
(
s
.
target
)
e4
:
SetValue
(
s
.
atkval
)
c
:
RegisterEffect
(
e4
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
...
...
expansions/script/c16311065.lua
View file @
9eb5ee84
...
...
@@ -74,7 +74,7 @@ function c16311065.tg2f1(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c16311065
.
tg2f2
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetDefense
(),
c
:
GetRace
())
end
function
c16311065
.
tg2f2
(
c
,
e
,
tp
,
def
,
race
)
return
c
:
IsSetCard
(
0x5dc6
)
and
c
:
GetDefense
()
<
def
and
c
:
IsRace
(
race
)
return
c
:
IsSetCard
(
0x5dc6
)
and
c
:
IsDefenseBelow
(
def
)
and
c
:
IsRace
(
race
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c16311065
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c50224150.lua
View file @
9eb5ee84
...
...
@@ -50,7 +50,7 @@ function c50224150.costfilter(c,tp)
return
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
()
end
function
c50224150
.
gcheck
(
g
,
e
,
tp
)
return
g
:
IsExists
(
Card
.
IsSummonType
,
1
,
nil
,
SUMMON_TYPE_NORMAL
)
return
g
:
IsExists
(
Card
.
IsSummonType
,
1
,
nil
,
SUMMON_TYPE_NORMAL
)
and
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
end
function
c50224150
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
):
Filter
(
c50224150
.
costfilter
,
nil
,
tp
)
...
...
@@ -61,8 +61,7 @@ function c50224150.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c50224150
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
function
c50224150
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c50224910.lua
View file @
9eb5ee84
...
...
@@ -140,8 +140,8 @@ function c50224910.spsop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c50224910
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
if
chk
==
0
then
return
#
g
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
end
function
c50224910
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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