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
08d3ce62
Commit
08d3ce62
authored
Feb 20, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dd4852e0
Pipeline
#33301
passed with stages
in 56 minutes and 19 seconds
Changes
14
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
70 additions
and
39 deletions
+70
-39
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c11600515.lua
expansions/script/c11600515.lua
+2
-1
expansions/script/c12400123.lua
expansions/script/c12400123.lua
+1
-1
expansions/script/c12869025.lua
expansions/script/c12869025.lua
+1
-1
expansions/script/c12869030.lua
expansions/script/c12869030.lua
+1
-1
expansions/script/c12869035.lua
expansions/script/c12869035.lua
+1
-1
expansions/script/c12869040.lua
expansions/script/c12869040.lua
+1
-1
expansions/script/c12869065.lua
expansions/script/c12869065.lua
+4
-2
expansions/script/c12869070.lua
expansions/script/c12869070.lua
+4
-2
expansions/script/c12869075.lua
expansions/script/c12869075.lua
+4
-2
expansions/script/c12869080.lua
expansions/script/c12869080.lua
+4
-2
expansions/script/c60001172.lua
expansions/script/c60001172.lua
+37
-22
expansions/script/c60159912.lua
expansions/script/c60159912.lua
+2
-2
expansions/script/c62625125.lua
expansions/script/c62625125.lua
+8
-1
No files found.
expansions/FiNALE.cdb
View file @
08d3ce62
No preview for this file type
expansions/script/c11600515.lua
View file @
08d3ce62
...
...
@@ -91,7 +91,7 @@ function c11600515.rtg(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg
=
Duel
.
GetRitualMaterial
(
tp
)
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
and
mg
:
CheckWithSum
Greater
(
Card
.
GetRitualLevel
,
8
,
c
)
and
mg
:
CheckWithSum
Equal
(
Card
.
GetRitualLevel
,
8
,
1
,
8
,
c
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_SZONE
)
end
...
...
@@ -103,6 +103,7 @@ function c11600515.rop(e,tp,eg,ep,ev,re,r,rp)
aux
.
GCheckAdditional
=
aux
.
RitualCheckAdditional
(
c
,
8
,
"Equal"
)
local
mat
=
mg
:
SelectSubGroup
(
tp
,
aux
.
RitualCheck
,
false
,
1
,
8
,
tp
,
c
,
8
,
"Equal"
)
aux
.
GCheckAdditional
=
nil
if
not
mat
or
#
mat
<
1
then
return
end
c
:
SetMaterial
(
mat
)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
BreakEffect
()
...
...
expansions/script/c12400123.lua
View file @
08d3ce62
...
...
@@ -18,7 +18,7 @@ function s.initial_effect(c)
--link as level
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
--
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e2
:
SetCode
(
EFFECT_ALLOW_SYNCHRO_KOISHI
)
e2
:
SetValue
(
function
(
e
,
c
)
return
e
:
GetHandler
():
GetLink
()
...
...
expansions/script/c12869025.lua
View file @
08d3ce62
...
...
@@ -13,7 +13,7 @@ function c12869025.initial_effect(c)
--link as level
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
--
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e2
:
SetCode
(
EFFECT_ALLOW_SYNCHRO_KOISHI
)
e2
:
SetValue
(
function
(
e
,
c
)
return
e
:
GetHandler
():
GetLink
()
...
...
expansions/script/c12869030.lua
View file @
08d3ce62
...
...
@@ -12,7 +12,7 @@ function c12869030.initial_effect(c)
--link as level
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
--
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e2
:
SetCode
(
EFFECT_ALLOW_SYNCHRO_KOISHI
)
e2
:
SetValue
(
function
(
e
,
c
)
return
e
:
GetHandler
():
GetLink
()
...
...
expansions/script/c12869035.lua
View file @
08d3ce62
...
...
@@ -12,7 +12,7 @@ function c12869035.initial_effect(c)
--link as level
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
--
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e2
:
SetCode
(
EFFECT_ALLOW_SYNCHRO_KOISHI
)
e2
:
SetValue
(
function
(
e
,
c
)
return
e
:
GetHandler
():
GetLink
()
...
...
expansions/script/c12869040.lua
View file @
08d3ce62
...
...
@@ -12,7 +12,7 @@ function c12869040.initial_effect(c)
--link as level
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
--
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e2
:
SetCode
(
EFFECT_ALLOW_SYNCHRO_KOISHI
)
e2
:
SetValue
(
function
(
e
,
c
)
return
e
:
GetHandler
():
GetLink
()
...
...
expansions/script/c12869065.lua
View file @
08d3ce62
...
...
@@ -99,9 +99,11 @@ end
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsSSetable
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
c
,
1
,
0
,
0
)
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
c
,
1
,
0
,
0
)
end
end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
Duel
.
SSet
(
tp
,
c
)
end
end
\ No newline at end of file
expansions/script/c12869070.lua
View file @
08d3ce62
...
...
@@ -90,11 +90,13 @@ end
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsSSetable
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
c
,
1
,
0
,
0
)
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
c
,
1
,
0
,
0
)
end
end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
Duel
.
SSet
(
tp
,
c
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
4
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c12869075.lua
View file @
08d3ce62
...
...
@@ -154,11 +154,13 @@ end
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsSSetable
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
c
,
1
,
0
,
0
)
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
c
,
1
,
0
,
0
)
end
end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
Duel
.
SSet
(
tp
,
c
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
4
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c12869080.lua
View file @
08d3ce62
...
...
@@ -65,11 +65,13 @@ end
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsSSetable
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
c
,
1
,
0
,
0
)
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
c
,
1
,
0
,
0
)
end
end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
c
)
end
if
c
:
IsRelateToEffect
(
e
)
and
aux
.
NecroValleyFilter
()(
c
)
then
Duel
.
SSet
(
tp
,
c
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
4
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c60001172.lua
View file @
08d3ce62
...
...
@@ -27,13 +27,23 @@ function c60001172.initial_effect(c)
e3
:
SetRange
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
)
--修改全局检查效果
if
not
c60001172
.
global_check
then
c60001172
.
global_check
=
true
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_
SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
local
e4
=
Effect
.
GlobalEffect
(
)
e4
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_SSET
)
e4
:
SetCondition
(
c60001172
.
setcon
)
e4
:
SetOperation
(
c60001172
.
setop
)
e4
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
eg
:
Filter
(
function
(
c
)
return
c
:
IsCode
(
60001172
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
,
nil
)
if
tg
:
GetCount
()
<=
0
then
return
end
local
tc
=
tg
:
GetFirst
()
while
tc
do
tc
:
RegisterFlagEffect
(
60001168
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
tc
=
tg
:
GetNext
()
end
end
)
Duel
.
RegisterEffect
(
e4
,
0
)
end
end
...
...
@@ -45,12 +55,17 @@ function c60001172.setcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c60001172
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
eg
:
Filter
(
c60001172
.
setter
,
nil
)
for
tc
in
aux
.
Next
(
tg
)
do
if
tg
:
GetCount
()
<=
0
then
return
end
local
tc
=
tg
:
GetFirst
()
while
tc
do
tc
:
RegisterFlagEffect
(
60001168
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
tc
=
tg
:
GetNext
()
end
end
function
c60001172
.
fscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsHasCategory
(
CATEGORY_SPECIAL_SUMMON
)
--原代码只检查特殊召唤效果,需要加入类型判定
return
rp
==
1
-
tp
and
re
:
IsHasCategory
(
CATEGORY_SPECIAL_SUMMON
)
and
(
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
or
re
:
IsActiveType
(
TYPE_MONSTER
))
end
function
c60001172
.
cwter
(
c
)
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
...
...
@@ -61,17 +76,18 @@ function c60001172.fstg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
c60001172
.
cwter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
end
function
c60001172
.
fsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
a1
,
a2
,
a3
,
a4
,
zone
=
Duel
.
GetOperationInfo
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetLabel
(
zone
)
e1
:
SetTarget
(
c60001172
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
1
-
tp
)
local
c
=
e
:
GetHandler
()
--修改这一行
local
loc
=
re
:
GetHandler
():
GetLocation
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetLabel
(
loc
)
--使用获取到的位置
e1
:
SetTarget
(
c60001172
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
1
-
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c60001172
.
cwter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
c
:
GetFlagEffect
(
60001168
)
>
0
and
c
:
IsLocation
(
LOCATION_SZONE
)
and
#
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60001172
,
2
))
then
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
@@ -85,12 +101,11 @@ function c60001172.fsop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e4
,
1
-
tp
)
end
function
c60001172
.
ntop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Recover
(
tp
,
2000
,
REASON_EFFECT
)
e
:
Reset
()
Duel
.
Recover
(
tp
,
2000
,
REASON_EFFECT
)
e
:
Reset
()
end
function
c60001172
.
splimit
(
e
,
c
)
return
c
:
IsLocation
(
zone
)
function
c60001172
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsLocation
(
e
:
GetLabel
()
)
end
function
c60001172
.
filter2
(
c
)
return
aux
.
IsCodeListed
(
c
,
60001179
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
...
...
expansions/script/c60159912.lua
View file @
08d3ce62
...
...
@@ -11,7 +11,7 @@ function c60159912.initial_effect(c)
--act in hand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_
TRAP_ACT_IN_
HAND
)
e2
:
SetCode
(
EFFECT_
QP_ACT_IN_NTP
HAND
)
e2
:
SetCondition
(
c60159912
.
handcon
)
c
:
RegisterEffect
(
e2
)
end
...
...
@@ -33,5 +33,5 @@ function c60159912.chainop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
function
c60159912
.
handcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentChain
()
>
1
return
Duel
.
GetCurrentChain
()
>
2
end
\ No newline at end of file
expansions/script/c62625125.lua
View file @
08d3ce62
...
...
@@ -104,12 +104,19 @@ function c62625125.target(e,tp,eg,ep,ev,re,r,rp,chk)
{
b1
,
aux
.
Stringid
(
62625125
,
1
)},
{
b2
,
aux
.
Stringid
(
62625125
,
2
)})
e
:
SetLabel
(
op
)
if
op
==
1
then
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
0
,
tp
,
LOCATION_HAND
)
end
end
function
c62625125
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
op
=
e
:
GetLabel
()
if
op
==
1
then
if
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
==
2
then
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
==
2
then
Duel
.
ShuffleHand
(
p
)
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_TODECK
)
local
sg
=
Duel
.
SelectMatchingCard
(
p
,
Card
.
IsAbleToDeck
,
p
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
...
...
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