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
a3053cba
Commit
a3053cba
authored
Mar 25, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d6bfea04
Pipeline
#34169
passed with stages
in 67 minutes and 6 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
32 deletions
+32
-32
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/lflist.conf
expansions/lflist.conf
+1
-1
expansions/script/c12400052.lua
expansions/script/c12400052.lua
+3
-1
expansions/script/c18700781.lua
expansions/script/c18700781.lua
+12
-16
expansions/script/c18700811.lua
expansions/script/c18700811.lua
+16
-14
No files found.
expansions/FiNALE.cdb
View file @
a3053cba
No preview for this file type
expansions/lflist.conf
View file @
a3053cba
...
...
@@ -1741,7 +1741,7 @@
52300095
0
--和平主义者 逆转复苏
52300175
1
--和平主义者的合神融合
52300185
1
--和平主义者 龙巢
52300
1
85
0
--和平主义者 通往光明
52300
0
85
0
--和平主义者 通往光明
52300180
1
--和平主义者 屠龙之始
52300100
1
--和平主义者的期待 泡影
...
...
expansions/script/c12400052.lua
View file @
a3053cba
...
...
@@ -35,11 +35,13 @@ function s.spfilter(c,e,tp)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
c
:
IsDiscardable
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetMZoneCount
(
tp
)
<=
0
then
return
end
if
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
+
REASON_DISCARD
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
@@ -59,7 +61,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
g
:
GetFirst
()
while
sc
do
local
atk
=
sc
:
GetAttack
()
local
def
=
sc
:
GetDefense
()
local
def
=
sc
:
GetDefense
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
expansions/script/c18700781.lua
View file @
a3053cba
...
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
fumfilter
(
c
)
return
c
:
IsSetCard
(
0x829
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x829
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
cm
.
tffilter
(
c
,
tp
)
return
c
:
IsCode
(
18700785
)
...
...
@@ -47,20 +47,16 @@ end
function
cm
.
tffilter2
(
c
)
return
c
:
IsCode
(
18700785
)
and
c
:
IsFaceup
()
end
function
cm
.
tffilter3
(
c
)
return
c
:
IsSetCard
(
0x829
)
and
c
:
IsAbleToHand
()
end
function
cm
.
tffilter4
(
c
)
return
c
:
IsCode
(
18700785
)
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
cm
.
tffilter3
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
function
cm
.
tffilter4
(
c
,
tp
)
return
c
:
IsCode
(
18700785
)
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
cm
.
fumfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
cm
.
tftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
tffilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
))
or
(
Duel
.
IsExistingMatchingCard
(
cm
.
tffilter2
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
tffilter3
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
))
end
if
chk
==
0
then
return
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
tffilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
))
or
(
Duel
.
IsExistingMatchingCard
(
cm
.
tffilter2
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
fumfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
))
end
end
function
cm
.
tfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
cm
.
tffilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
cm
.
tffilter4
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
cm
.
tffilter4
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
,
tp
)
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
m
,
1
)},
{
b2
,
aux
.
Stringid
(
m
,
2
)})
...
...
@@ -73,18 +69,18 @@ function cm.tfop(e,tp,eg,ep,ev,re,r,rp)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tffilter3
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
fumfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
tc
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
end
function
cm
.
tfilter
(
c
)
function
cm
.
tfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x829
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
)
end
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
@@ -92,14 +88,14 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
thfilter
(
c
,
tc
)
return
c
:
IsSetCard
(
0x829
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
tc
:
GetCode
())
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
tc
:
GetCode
())
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
e
:
GetLabelObject
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
expansions/script/c18700811.lua
View file @
a3053cba
...
...
@@ -8,10 +8,10 @@ function cm.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetTarget
(
cm
.
td
tg
)
e1
:
SetTarget
(
cm
.
set
tg
)
e1
:
SetOperation
(
cm
.
tdop
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -25,26 +25,28 @@ function cm.initial_effect(c)
end
function
cm
.
tdfilter
(
c
)
return
c
:
IsSetCard
(
0x829
)
and
c
:
IsAbleToDeck
()
and
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
)
function
cm
.
tdfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x829
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToDeck
()
and
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
)
end
function
cm
.
thfilter
(
c
,
tc
)
return
c
:
IsSetCard
(
0x3829
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
tc
:
GetCode
())
and
c
:
IsAbleToHand
(
)
return
c
:
IsSetCard
(
0x3829
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
tc
:
GetCode
()
)
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
function
cm
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
tdfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
tdop
(
e
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
#
g
>
0
and
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
~=
0
then
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
g
:
GetFirst
()
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc
)
if
#
sg
>
0
then
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
end
end
end
\ No newline at end of file
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