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
9ff876d1
Commit
9ff876d1
authored
Jul 16, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c02da634
Pipeline
#39076
failed with stages
in 3 minutes and 52 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
18 deletions
+31
-18
expansions/script/c12802030.lua
expansions/script/c12802030.lua
+2
-1
expansions/script/c12802045.lua
expansions/script/c12802045.lua
+3
-1
expansions/script/c16105300.lua
expansions/script/c16105300.lua
+26
-16
No files found.
expansions/script/c12802030.lua
View file @
9ff876d1
...
...
@@ -27,9 +27,10 @@ function s.poscon1(e,tp,eg,ep,ev,re,r,rp)
if
eg
:
GetCount
()
>
1
then
return
false
end
local
c
=
e
:
GetHandler
()
local
tc
=
eg
:
GetFirst
()
return
tc
:
IsControler
(
1
-
tp
)
and
tc
:
IsPosition
(
POS_FACEUP
)
and
c
:
IsCanChangePosition
()
return
tc
:
IsControler
(
1
-
tp
)
and
tc
:
IsPosition
(
POS_FACEUP
)
and
c
:
IsCanChangePosition
()
and
not
tc
:
IsType
(
TYPE_LINK
)
end
function
s
.
poscost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAttackPos
()
end
Duel
.
ChangePosition
(
e
:
GetHandler
(),
POS_FACEUP_DEFENSE
)
end
...
...
expansions/script/c12802045.lua
View file @
9ff876d1
...
...
@@ -115,10 +115,12 @@ function s.spfilter(c,e,tp)
and
c
:
IsFaceupEx
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
spfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
sg
>
0
then
...
...
expansions/script/c16105300.lua
View file @
9ff876d1
...
...
@@ -46,25 +46,35 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e
:
Reset
()
end
)
tc
:
RegisterEffect
(
e2
)
--summon with 3 tribute
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetDescription
(
aux
.
Stringid
(
10000010
,
2
))
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LIMIT_SUMMON_PROC
)
e1
:
SetCondition
(
cm
.
ttcon
)
e1
:
SetOperation
(
cm
.
ttop
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
tc
:
RegisterEffect
(
e1
)
if
tc
:
IsOriginalCodeRule
(
10000040
)
then
--summon with 3 tribute
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LIMIT_SUMMON_PROC
)
e1
:
SetCondition
(
cm
.
ttcon
)
e1
:
SetOperation
(
cm
.
ttop
)
e1
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
e1
:
SetReset
(
RESETS_STANDARD
+
RESET_EVENT
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
tc
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LIMIT_SET_PROC
)
e2
:
SetCondition
(
cm
.
ttcon
)
e2
:
SetOperation
(
cm
.
ttop
)
e2
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
e2
:
SetReset
(
RESETS_STANDARD
+
RESET_EVENT
)
tc
:
RegisterEffect
(
e2
)
end
end
end
function
cm
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
if
c
==
nil
then
return
true
end
return
minc
<=
3
and
Duel
.
CheckTribute
(
c
,
3
)
end
function
cm
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
local
g
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
g
)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
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