Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
4bdae2df
Commit
4bdae2df
authored
Dec 31, 2025
by
mercury233
Committed by
GitHub
Dec 31, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tp and xyzc param (#3095)
parent
12ebabdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
procedure.lua
procedure.lua
+4
-4
No files found.
procedure.lua
View file @
4bdae2df
...
@@ -373,7 +373,7 @@ function Auxiliary.SynMixCheckGoal(tp,sg,minc,ct,syncard,sg1,smat,gc,mgchk)
...
@@ -373,7 +373,7 @@ function Auxiliary.SynMixCheckGoal(tp,sg,minc,ct,syncard,sg1,smat,gc,mgchk)
local
g
=
sg
:
Clone
()
local
g
=
sg
:
Clone
()
g
:
Merge
(
sg1
)
g
:
Merge
(
sg1
)
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
syncard
)
<=
0
then
return
false
end
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
syncard
)
<=
0
then
return
false
end
if
gc
and
not
gc
(
g
,
syncard
)
then
return
false
end
if
gc
and
not
gc
(
g
,
syncard
,
tp
)
then
return
false
end
if
smat
and
not
g
:
IsContains
(
smat
)
then
return
false
end
if
smat
and
not
g
:
IsContains
(
smat
)
then
return
false
end
if
not
Auxiliary
.
MustMaterialCheck
(
g
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
false
end
if
not
Auxiliary
.
MustMaterialCheck
(
g
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
false
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8173184
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8173184
)
...
@@ -482,7 +482,7 @@ function Auxiliary.Xyz2XMaterialEffectFilter(c,xyzc,lv,f,tp,checked)
...
@@ -482,7 +482,7 @@ function Auxiliary.Xyz2XMaterialEffectFilter(c,xyzc,lv,f,tp,checked)
local
e
=
c
:
IsHasEffect
(
EFFECT_DOUBLE_XMATERIAL
,
tp
)
local
e
=
c
:
IsHasEffect
(
EFFECT_DOUBLE_XMATERIAL
,
tp
)
if
not
e
then
return
false
end
if
not
e
then
return
false
end
local
tg
=
e
:
GetTarget
()
local
tg
=
e
:
GetTarget
()
if
tg
and
not
tg
(
e
,
xyzc
)
then
return
false
end
if
tg
and
not
tg
(
e
,
xyzc
,
tp
)
then
return
false
end
return
true
return
true
end
end
function
Auxiliary
.
Xyz2XMaterialGoal
(
g
,
tp
,
xyzc
,
minc
)
function
Auxiliary
.
Xyz2XMaterialGoal
(
g
,
tp
,
xyzc
,
minc
)
...
@@ -500,7 +500,7 @@ function Auxiliary.Xyz2XMaterialGoal(g,tp,xyzc,minc)
...
@@ -500,7 +500,7 @@ function Auxiliary.Xyz2XMaterialGoal(g,tp,xyzc,minc)
if
le
then
if
le
then
local
tg
=
le
:
GetTarget
()
local
tg
=
le
:
GetTarget
()
local
limit_value
=
le
:
GetValue
()
-- not fully implemented: assuming Hard once per turn effects
local
limit_value
=
le
:
GetValue
()
-- not fully implemented: assuming Hard once per turn effects
if
(
not
tg
or
tg
(
le
,
xyzc
))
and
(
not
limit_value
or
not
limit_table
[
limit_value
])
then
if
(
not
tg
or
tg
(
le
,
xyzc
,
tp
))
and
(
not
limit_value
or
not
limit_table
[
limit_value
])
then
ct2
=
ct2
+
1
ct2
=
ct2
+
1
if
limit_value
then
if
limit_value
then
limit_table
[
limit_value
]
=
true
limit_table
[
limit_value
]
=
true
...
@@ -664,7 +664,7 @@ function Auxiliary.XyzLevelFreeFilter(c,xyzc,f)
...
@@ -664,7 +664,7 @@ function Auxiliary.XyzLevelFreeFilter(c,xyzc,f)
end
end
function
Auxiliary
.
XyzLevelFreeGoal
(
g
,
tp
,
xyzc
,
gf
)
function
Auxiliary
.
XyzLevelFreeGoal
(
g
,
tp
,
xyzc
,
gf
)
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
xyzc
)
<=
0
then
return
false
end
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
xyzc
)
<=
0
then
return
false
end
if
gf
and
not
gf
(
g
)
then
return
false
end
if
gf
and
not
gf
(
g
,
xyzc
,
tp
)
then
return
false
end
local
lg
=
g
:
Filter
(
Card
.
IsHasEffect
,
nil
,
EFFECT_XYZ_MIN_COUNT
)
local
lg
=
g
:
Filter
(
Card
.
IsHasEffect
,
nil
,
EFFECT_XYZ_MIN_COUNT
)
for
c
in
Auxiliary
.
Next
(
lg
)
do
for
c
in
Auxiliary
.
Next
(
lg
)
do
local
le
=
c
:
IsHasEffect
(
EFFECT_XYZ_MIN_COUNT
)
local
le
=
c
:
IsHasEffect
(
EFFECT_XYZ_MIN_COUNT
)
...
...
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