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
495ef369
Commit
495ef369
authored
May 27, 2025
by
Satty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
95f00810
Pipeline
#36995
passed with stages
in 42 minutes and 4 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
18 deletions
+21
-18
expansions/script/c12869065.lua
expansions/script/c12869065.lua
+1
-0
expansions/script/c16150018.lua
expansions/script/c16150018.lua
+2
-1
expansions/script/c60158212.lua
expansions/script/c60158212.lua
+2
-2
expansions/script/c60158214.lua
expansions/script/c60158214.lua
+1
-1
expansions/script/c98500140.lua
expansions/script/c98500140.lua
+7
-7
expansions/script/c98500150.lua
expansions/script/c98500150.lua
+8
-7
No files found.
expansions/script/c12869065.lua
View file @
495ef369
...
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c16150018.lua
View file @
495ef369
...
...
@@ -195,7 +195,8 @@ function cm.operation1(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
tc
:
RegisterEffect
(
e2
,
true
)
elseif
op
==
1
then
Duel
.
NegateSummon
(
tc
)
Duel
.
NegateSummon
(
tc
)
Duel
.
Exile
(
tc
,
REASON_RULE
)
if
not
Duel
.
Equip
(
tp
,
tc
,
c
,
false
,
true
)
then
return
end
--equip limit
local
e1
=
Effect
.
CreateEffect
(
tc
)
...
...
expansions/script/c60158212.lua
View file @
495ef369
...
...
@@ -156,14 +156,14 @@ function c60158212.discon(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
re
:
GetHandler
()
local
sccode
=
sc
:
GetOriginalCode
()
return
sc
~=
e
:
GetHandler
()
and
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
GetFlagEffect
(
60158212
)
<=
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
sccode
,
0
,
TYPES_EFFECT_TRAP_MONSTER
,
1500
,
1500
,
2
,
RACE_MACHINE
,
ATTRIBUTE_WATER
)
and
not
(
sc
:
IsLocation
(
LOCATION_MZONE
)
or
sc
:
IsLocation
(
LOCATION_DECK
)
or
sc
:
IsLocation
(
LOCATION_HAND
))
and
not
(
sc
:
IsLocation
(
LOCATION_MZONE
)
or
sc
:
IsLocation
(
LOCATION_DECK
)
or
sc
:
IsLocation
(
LOCATION_HAND
))
and
not
(
sc
:
IsType
(
TYPE_PENDULUM
)
and
sc
:
IsLocation
(
LOCATION_PZONE
))
end
function
c60158212
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandlerPlayer
()
local
sc
=
re
:
GetHandler
()
local
sccode
=
sc
:
GetOriginalCode
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
sccode
,
0
,
TYPES_EFFECT_TRAP_MONSTER
,
1500
,
1500
,
2
,
RACE_MACHINE
,
ATTRIBUTE_WATER
)
and
not
(
sc
:
IsLocation
(
LOCATION_MZONE
)
or
sc
:
IsLocation
(
LOCATION_DECK
)
or
sc
:
IsLocation
(
LOCATION_HAND
))
and
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
60158212
,
4
))
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
sccode
,
0
,
TYPES_EFFECT_TRAP_MONSTER
,
1500
,
1500
,
2
,
RACE_MACHINE
,
ATTRIBUTE_WATER
)
and
not
(
sc
:
IsLocation
(
LOCATION_MZONE
)
or
sc
:
IsLocation
(
LOCATION_DECK
)
or
sc
:
IsLocation
(
LOCATION_HAND
))
and
not
(
sc
:
IsType
(
TYPE_PENDULUM
)
and
sc
:
IsLocation
(
LOCATION_PZONE
))
and
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
aux
.
Stringid
(
60158212
,
4
))
then
if
sc
:
IsType
(
TYPE_SPELL
)
then
sc
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_SPELL
,
ATTRIBUTE_WATER
,
RACE_MACHINE
,
2
,
1500
,
1500
)
elseif
sc
:
IsType
(
TYPE_TRAP
)
then
...
...
expansions/script/c60158214.lua
View file @
495ef369
...
...
@@ -5,7 +5,7 @@ function c60158214.initial_effect(c)
--1xg
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
60158214
,
0
))
e1
:
SetCategory
(
CATEGORY_
DECKDES
)
e1
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
60158214
)
...
...
expansions/script/c98500140.lua
View file @
495ef369
...
...
@@ -43,7 +43,7 @@ function c98500140.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
c98500140
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
98500140
,
9
),
aux
.
Stringid
(
98500140
,
10
))
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
98500140
,
7
),
aux
.
Stringid
(
98500140
,
8
))
if
op
==
0
then
Duel
.
ChangePosition
(
e
:
GetHandler
(),
POS_FACEUP_ATTACK
)
else
...
...
@@ -99,7 +99,7 @@ function c98500140.hspop(e,tp,eg,ep,ev,re,r,rp)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e0
:
SetCountLimit
(
1
,
98500
510
)
e0
:
SetCountLimit
(
1
,
98500
143
)
e0
:
SetReset
(
RESET_EVENT
+
0x7e0000
+
RESET_PHASE
+
PHASE_END
)
e0
:
SetOperation
(
c98500140
.
efilter
)
c
:
RegisterEffect
(
e0
)
...
...
@@ -107,7 +107,7 @@ function c98500140.hspop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_MSET
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e4
:
SetCountLimit
(
1
,
98500
510
)
e4
:
SetCountLimit
(
1
,
98500
143
)
e4
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
-- e4:SetLabelObject(c)
e4
:
SetOperation
(
c98500140
.
efilter
)
...
...
@@ -117,18 +117,18 @@ function c98500140.hspop(e,tp,eg,ep,ev,re,r,rp)
local
ts
=
{}
local
index
=
1
if
e
:
GetHandler
():
IsSummonable
(
true
,
nil
)
then
ts
[
index
]
=
aux
.
Stringid
(
98500140
,
7
)
ts
[
index
]
=
aux
.
Stringid
(
98500140
,
9
)
index
=
index
+
1
end
if
e
:
GetHandler
():
IsMSetable
(
true
,
nil
)
then
ts
[
index
]
=
aux
.
Stringid
(
98500140
,
8
)
ts
[
index
]
=
aux
.
Stringid
(
98500140
,
10
)
index
=
index
+
1
end
local
c
=
e
:
GetHandler
()
local
opt
=
Duel
.
SelectOption
(
tp
,
table.unpack
(
ts
))
if
ts
[
opt
+
1
]
==
aux
.
Stringid
(
98500140
,
7
)
then
if
ts
[
opt
+
1
]
==
aux
.
Stringid
(
98500140
,
9
)
then
Duel
.
Summon
(
tp
,
c
,
true
,
nil
)
elseif
ts
[
opt
+
1
]
==
aux
.
Stringid
(
98500140
,
8
)
then
elseif
ts
[
opt
+
1
]
==
aux
.
Stringid
(
98500140
,
10
)
then
Duel
.
MSet
(
tp
,
c
,
true
,
nil
)
end
local
tc
=
Duel
.
GetFirstTarget
()
...
...
expansions/script/c98500150.lua
View file @
495ef369
...
...
@@ -42,7 +42,7 @@ function c98500150.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
c98500150
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
98500150
,
9
),
aux
.
Stringid
(
98500150
,
10
))
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
98500150
,
7
),
aux
.
Stringid
(
98500150
,
8
))
if
op
==
0
then
Duel
.
ChangePosition
(
e
:
GetHandler
(),
POS_FACEUP_ATTACK
)
else
...
...
@@ -97,7 +97,7 @@ function c98500150.hspop(e,tp,eg,ep,ev,re,r,rp)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e0
:
SetCountLimit
(
1
,
98500
520
)
e0
:
SetCountLimit
(
1
,
98500
153
)
e0
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
e0
:
SetOperation
(
c98500150
.
efilter
)
c
:
RegisterEffect
(
e0
)
...
...
@@ -105,7 +105,7 @@ function c98500150.hspop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_MSET
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e4
:
SetCountLimit
(
1
,
98500
520
)
e4
:
SetCountLimit
(
1
,
98500
153
)
e4
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
-- e4:SetLabelObject(c)
e4
:
SetOperation
(
c98500150
.
efilter
)
...
...
@@ -115,18 +115,18 @@ function c98500150.hspop(e,tp,eg,ep,ev,re,r,rp)
local
ts
=
{}
local
index
=
1
if
e
:
GetHandler
():
IsSummonable
(
true
,
nil
)
then
ts
[
index
]
=
aux
.
Stringid
(
98500150
,
7
)
ts
[
index
]
=
aux
.
Stringid
(
98500150
,
9
)
index
=
index
+
1
end
if
e
:
GetHandler
():
IsMSetable
(
true
,
nil
)
then
ts
[
index
]
=
aux
.
Stringid
(
98500150
,
8
)
ts
[
index
]
=
aux
.
Stringid
(
98500150
,
10
)
index
=
index
+
1
end
local
c
=
e
:
GetHandler
()
local
opt
=
Duel
.
SelectOption
(
tp
,
table.unpack
(
ts
))
if
ts
[
opt
+
1
]
==
aux
.
Stringid
(
98500150
,
7
)
then
if
ts
[
opt
+
1
]
==
aux
.
Stringid
(
98500150
,
9
)
then
Duel
.
Summon
(
tp
,
c
,
true
,
nil
)
elseif
ts
[
opt
+
1
]
==
aux
.
Stringid
(
98500150
,
8
)
then
elseif
ts
[
opt
+
1
]
==
aux
.
Stringid
(
98500150
,
10
)
then
Duel
.
MSet
(
tp
,
c
,
true
,
nil
)
end
local
tc
=
Duel
.
GetFirstTarget
()
...
...
@@ -153,6 +153,7 @@ function c98500150.desop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
~=
0
then
Duel
.
BreakEffect
()
if
Duel
.
IsExistingTarget
(
c98500150
.
filter4
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
98500150
,
4
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c98500150
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
tc2
=
g2
:
GetFirst
()
Duel
.
GetControl
(
tc2
,
tp
,
PHASE_END
,
1
)
...
...
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