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
4c0f6a48
Commit
4c0f6a48
authored
May 01, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ecba3752
Pipeline
#35755
passed with stages
in 41 minutes and 1 second
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
39 deletions
+21
-39
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c13700047.lua
expansions/script/c13700047.lua
+2
-22
expansions/script/c18700873.lua
expansions/script/c18700873.lua
+1
-0
expansions/script/c18700888.lua
expansions/script/c18700888.lua
+4
-4
expansions/script/c18700900.lua
expansions/script/c18700900.lua
+3
-3
expansions/script/c18700974.lua
expansions/script/c18700974.lua
+11
-10
No files found.
expansions/FiNALE.cdb
View file @
4c0f6a48
No preview for this file type
expansions/script/c13700047.lua
View file @
4c0f6a48
...
...
@@ -33,12 +33,10 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
xyzfilter
(
c
)
return
c
:
IsFaceup
()
and
(
Summon_Count
[
1
]
>=
5
or
Summon_Count
[
2
]
>=
5
)
return
c
:
IsFaceup
()
--
and (Summon_Count[1] >= 5 or Summon_Count[2] >= 5)
end
function
s
.
altop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Summon_Count
[
1
-
tp
+
3
]
>=
5
or
Summon_Count
[
1
-
tp
+
1
]
>=
5
end
if
chk
==
0
then
return
Summon_Count
[
1
-
tp
+
3
]
>=
5
or
Summon_Count
[
1
-
tp
+
1
]
>=
5
end
return
true
end
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -132,24 +130,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local
e11
=
e10
:
Clone
()
e11
:
SetCode
(
EFFECT_NO_EFFECT_DAMAGE
)
Duel
.
RegisterEffect
(
e11
,
tp
)
--双方场上的卡不能回到卡组
local
e12
=
Effect
.
CreateEffect
(
c
)
e12
:
SetType
(
EFFECT_TYPE_FIELD
)
e12
:
SetCode
(
EFFECT_CANNOT_TO_DECK
)
e12
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e12
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_PLAYER_TARGET
)
e12
:
SetTargetRange
(
1
,
1
)
e12
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsLocation
,
LOCATION_ONFIELD
))
Duel
.
RegisterEffect
(
e12
,
tp
)
--双方场上的卡不能回到手卡
local
e13
=
Effect
.
CreateEffect
(
c
)
e13
:
SetType
(
EFFECT_TYPE_FIELD
)
e13
:
SetCode
(
EFFECT_CANNOT_TO_HAND
)
e13
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e13
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_PLAYER_TARGET
)
e13
:
SetTargetRange
(
1
,
1
)
e13
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsLocation
,
LOCATION_ONFIELD
))
Duel
.
RegisterEffect
(
e13
,
tp
)
end
function
s
.
disable
(
e
,
c
)
return
c
~=
e
:
GetHandler
()
...
...
expansions/script/c18700873.lua
View file @
4c0f6a48
...
...
@@ -94,6 +94,7 @@ function cm.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
grave_cond
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsRace
,
tp
,
LOCATION_GRAVE
,
0
,
5
,
nil
,
RACE_DINOSAUR
)
local
mg
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
expansions/script/c18700888.lua
View file @
4c0f6a48
...
...
@@ -2,7 +2,7 @@
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
cm
.
lkfilter
,
2
,
99
)
aux
.
AddLinkProcedure
(
c
,
nil
,
2
,
99
,
cm
.
lcheck
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
@@ -41,10 +41,10 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
lkfilter
(
c
)
return
c
:
IsRace
(
RACE_DINOSAUR
)
end
function
cm
.
lcheck
(
g
)
return
g
:
IsExists
(
Card
.
IsLinkRace
,
2
,
nil
,
RACE_DINOSAUR
)
end
function
cm
.
rmcfilter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_DINOSAUR
)
and
(
c
:
IsPreviousLocation
(
LOCATION_HAND
)
or
c
:
IsPreviousLocation
(
LOCATION_MZONE
))
...
...
expansions/script/c18700900.lua
View file @
4c0f6a48
...
...
@@ -26,12 +26,12 @@ end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
,
tp
)
return
c
:
IsRace
(
RACE_DINOSAUR
)
and
c
:
IsLevelAbove
(
1
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
c
,
TYPE_MONSTER
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
searchfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetLevel
())
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
@@ -39,7 +39,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
if
#
g
>
0
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
if
#
tg
==
0
then
return
end
local
tc
=
tg
:
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
...
...
expansions/script/c18700974.lua
View file @
4c0f6a48
--武道极徒诸星演武场
--武道极徒诸星演武场
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
...
...
@@ -149,24 +150,24 @@ end
function
cm
.
eftg
(
e
,
c
)
return
c
:
IsSetCard
(
0x82b
)
end
function
cm
.
matfilter
(
c
)
return
c
:
IsFaceup
()
end
function
cm
.
linkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
end
function
cm
.
lkfilter
(
c
)
return
c
:
IsLinkSummonable
(
nil
)
end
function
cm
.
lktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsLinkSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
mg
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
lkfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
cm
.
lkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsLinkSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
mg
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
lkfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
LinkSummon
(
tp
,
tc
,
mg
)
if
tc
then
Duel
.
LinkSummon
(
tp
,
tc
,
nil
)
if
not
tc
:
IsSetCard
(
0x82b
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
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