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
c9963870
Commit
c9963870
authored
Jun 21, 2025
by
Satty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8878a62e
Pipeline
#37903
passed with stages
in 48 minutes and 45 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
24 deletions
+23
-24
expansions/script/c12400060.lua
expansions/script/c12400060.lua
+3
-3
expansions/script/c16104438.lua
expansions/script/c16104438.lua
+2
-2
expansions/script/c16311060.lua
expansions/script/c16311060.lua
+3
-2
expansions/script/c50224955.lua
expansions/script/c50224955.lua
+4
-9
expansions/script/c50224960.lua
expansions/script/c50224960.lua
+10
-2
expansions/script/c79250013.lua
expansions/script/c79250013.lua
+1
-6
No files found.
expansions/script/c12400060.lua
View file @
c9963870
...
...
@@ -37,14 +37,14 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_
END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_
STANDBY
)
e1
:
SetCountLimit
(
1
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCondition
(
s
.
descon
)
e1
:
SetOperation
(
s
.
desop
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_
END
+
RESET_SELF_TURN
,
2
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_
STANDBY
+
RESET_SELF_TURN
,
2
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_PHASE
+
PHASE_
END
+
RESET_SELF_TURN
,
0
,
2
)
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_PHASE
+
PHASE_
STANDBY
+
RESET_SELF_TURN
,
0
,
2
)
s
[
e
:
GetHandler
()]
=
e1
if
c
:
GetTurnCounter
()
>=
2
then
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
)
...
...
expansions/script/c16104438.lua
View file @
c9963870
...
...
@@ -32,9 +32,9 @@ function cm.recon(e)
return
e
:
GetHandler
():
IsFaceup
()
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
0
,
1
,
3
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_GRAVE
+
LOCATION_ONFIELD
+
LOCATION_REMOVED
,
0
,
1
,
3
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c16311060.lua
View file @
c9963870
...
...
@@ -39,7 +39,7 @@ function c16311060.initial_effect(c)
c
:
RegisterEffect
(
e11
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -111,7 +111,8 @@ function c16311060.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
c16311060
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
16311085
,
0x5dc6
,
TYPES_TOKEN_MONSTER
+
TYPE_TUNER
,
100
,
300
,
2
,
RACE_INSECT
,
ATTRIBUTE_EARTH
,
POS_FACEUP_DEFENSE
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
16311085
,
0x5dc6
,
TYPES_TOKEN_MONSTER
+
TYPE_TUNER
,
100
,
300
,
2
,
RACE_INSECT
,
ATTRIBUTE_EARTH
,
POS_FACEUP_DEFENSE
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
...
...
expansions/script/c50224955.lua
View file @
c9963870
...
...
@@ -63,14 +63,9 @@ function c50224955.initial_effect(c)
e5
:
SetTarget
(
c50224955
.
pentg
)
e5
:
SetOperation
(
c50224955
.
penop
)
c
:
RegisterEffect
(
e5
)
if
not
c50224955
.
global_check
then
c50224955
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS_G_P
)
ge1
:
SetOperation
(
c50224955
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c50224955
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
RegisterFlagEffect
(
rp
,
50224955
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c50224955
.
matfilter
(
c
,
syncard
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
(
c
:
IsTuner
(
syncard
)
or
c
:
IsSummonType
(
SUMMON_TYPE_PENDULUM
))
...
...
@@ -166,9 +161,9 @@ function c50224955.sccon2(e)
return
e
:
GetHandler
()
==
Duel
.
GetFieldCard
(
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
1
)
end
function
c50224955
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
2
,
PLAYER_ALL
,
LOCATION_ONFIELD
)
end
function
c50224955
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c50224960.lua
View file @
c9963870
...
...
@@ -68,14 +68,22 @@ function c50224960.initial_effect(c)
c50224960
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
_G_P
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge1
:
SetOperation
(
c50224960
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
c50224960
.
pendulum_level
=
8
function
c50224960
.
checkfilter
(
c
)
return
c
:
IsSummonType
(
SUMMON_TYPE_PENDULUM
)
end
function
c50224960
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
RegisterFlagEffect
(
rp
,
50224960
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
g
=
eg
:
Filter
(
c50224960
.
checkfilter
,
nil
)
local
tc
=
g
:
GetFirst
()
while
tc
do
Duel
.
RegisterFlagEffect
(
tc
:
GetSummonPlayer
(),
50224960
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
tc
=
g
:
GetNext
()
end
end
function
c50224960
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xcba
)
...
...
expansions/script/c79250013.lua
View file @
c9963870
...
...
@@ -21,7 +21,7 @@ function s.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_
DRAW
)
e2
:
SetCountLimit
(
1
,
id
+
1
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCondition
(
s
.
sppcon
)
...
...
@@ -56,13 +56,8 @@ function s.spptg(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
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
function
s
.
sppop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
if
c
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
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