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
36abda79
Commit
36abda79
authored
Jun 01, 2025
by
Satty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0196a13b
Pipeline
#37212
passed with stage
in 4 minutes and 25 seconds
Changes
9
Pipelines
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
51 additions
and
324 deletions
+51
-324
expansions/script/c10030081.lua
expansions/script/c10030081.lua
+2
-2
expansions/script/c10070008.lua
expansions/script/c10070008.lua
+1
-1
expansions/script/c16104208.lua
expansions/script/c16104208.lua
+3
-3
expansions/script/c5012685.lua
expansions/script/c5012685.lua
+2
-2
expansions/script/c53702500.lua
expansions/script/c53702500.lua
+29
-303
expansions/script/c60151125.lua
expansions/script/c60151125.lua
+1
-1
expansions/script/c60152302.lua
expansions/script/c60152302.lua
+1
-1
expansions/script/c60152306.lua
expansions/script/c60152306.lua
+2
-4
expansions/script/c79250064.lua
expansions/script/c79250064.lua
+10
-7
No files found.
expansions/script/c10030081.lua
View file @
36abda79
--绝念的少女 美纱
local
m
=
10030081
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c10000100.lua"
)
xpcall
(
function
()
require
(
"expansions/script/c10000100"
)
end
,
function
()
require
(
"script/c10000100"
)
end
)
function
cm
.
initial_effect
(
c
)
local
e0
=
bo
.
base
(
c
,
m
)
--destroy replace
...
...
@@ -10,7 +10,6 @@ function cm.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
bo
.
base_condition
)
e1
:
SetTarget
(
cm
.
reptg
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -19,6 +18,7 @@ function cm.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCost
(
bo
.
base_cost
)
e2
:
SetTarget
(
cm
.
thtg
)
e2
:
SetOperation
(
cm
.
thop
)
...
...
expansions/script/c10070008.lua
View file @
36abda79
...
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetCode
(
EFFECT_CHANGE_CODE
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN_FORBIDDEN
)
e0
:
SetValue
(
10070100
)
e0
:
SetRange
(
LOCATION_MZONE
)
e0
:
SetCondition
(
cm
.
condition
)
...
...
expansions/script/c16104208.lua
View file @
36abda79
...
...
@@ -25,14 +25,14 @@ function cm.initial_effect(c)
local
e4
=
rkch
.
MonzToPen
(
c
,
m
,
EVENT_RELEASE
,
false
)
end
cm
.
dff
=
true
function
cm
.
des
filter
(
c
,
ec
)
function
cm
.
des
check
(
c
,
ec
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
GetColumnGroupCount
()
>
0
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
des
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
des
check
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
cm
.
des
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
cm
.
des
check
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
0
)
end
function
cm
.
desop
(
e
,
tp
)
...
...
expansions/script/c5012685.lua
View file @
36abda79
...
...
@@ -37,10 +37,10 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
.
MoJin
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsFaceup
()
and
c
.
MoJin
--
and c:IsType(TYPE_MONSTER)
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
...
...
expansions/script/c53702500.lua
View file @
36abda79
This diff is collapsed.
Click to expand it.
expansions/script/c60151125.lua
View file @
36abda79
...
...
@@ -122,7 +122,7 @@ function c60151125.disop(e,tp,eg,ep,ev,re,r,rp)
rc
:
CancelToGrave
()
Duel
.
Overlay
(
e
:
GetHandler
(),
Group
.
FromCards
(
rc
))
else
return
false
Duel
.
Overlay
(
e
:
GetHandler
(),
Group
.
FromCards
(
rc
))
end
end
end
...
...
expansions/script/c60152302.lua
View file @
36abda79
...
...
@@ -47,7 +47,7 @@ end
function
c60152302
.
e1tgfilter
(
c
,
tp
)
local
code
=
c
:
GetCode
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xcb26
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
IsExisting
Target
(
c60152302
.
e1tgfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
code
)
and
Duel
.
IsExisting
MatchingCard
(
c60152302
.
e1tgfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
code
)
end
function
c60152302
.
e1tgfilter2
(
c
,
code
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xcb26
)
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
expansions/script/c60152306.lua
View file @
36abda79
--星海游侠 特拉
local
m
=
60152306
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
c60152306
.
initial_effect
(
c
)
--spsummon
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetDescription
(
aux
.
Stringid
(
60152306
,
0
))
...
...
@@ -51,7 +49,7 @@ end
function
c60152306
.
e1tgfilter
(
c
,
e
,
tp
)
local
code
=
c
:
GetCode
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xcb26
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
IsExisting
Target
(
c60152306
.
e1tgfilter2
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
code
,
e
,
tp
)
and
Duel
.
IsExisting
MatchingCard
(
c60152306
.
e1tgfilter2
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
code
,
e
,
tp
)
end
function
c60152306
.
e1tgfilter2
(
c
,
code
,
e
,
tp
)
return
c
:
IsSetCard
(
0xcb26
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
code
)
...
...
expansions/script/c79250064.lua
View file @
36abda79
...
...
@@ -27,9 +27,12 @@ end
function
s
.
filter2
(
c
)
return
c
.
setcard
==
"Abnormality"
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
end
function
s
.
filter22
(
g
)
return
g
:
IsExists
(
s
.
filter2
,
1
,
nil
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
...
...
@@ -39,12 +42,12 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
-- 检索异想体怪兽
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
if
g1
:
GetCount
()
==
2
then
Duel
.
SendtoHand
(
g
1
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
1
)
local
g1
=
Duel
.
GetMatchingGroup
(
s
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g2
=
g1
:
SelectSubGroup
(
tp
,
s
.
filter22
,
false
,
2
,
2
)
if
g2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
SendtoHand
(
g
2
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
2
)
end
-- 检查灵摆区域并检索希望之光
local
pzone
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
0
)
and
Duel
.
GetFieldCard
(
tp
,
LOCATION_PZONE
,
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