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
2
Merge Requests
2
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
813c9c6f
Commit
813c9c6f
authored
Jun 20, 2025
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update limit_value
parent
ae99bb67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
procedure.lua
procedure.lua
+6
-3
No files found.
procedure.lua
View file @
813c9c6f
...
...
@@ -497,11 +497,14 @@ function Auxiliary.Xyz2XMaterialGoal(g,tp,xyzc,minc)
local
limit_table
=
{}
for
c
in
Auxiliary
.
Next
(
g
)
do
local
le
=
c
:
IsHasEffect
(
EFFECT_DOUBLE_XMATERIAL
,
tp
)
if
le
and
not
limit_table
[
le
:
GetValue
()]
then
-- not fully implemented: assuming Hard once per turn effects
if
le
then
local
tg
=
le
:
GetTarget
()
if
not
tg
or
tg
(
le
,
xyzc
)
then
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
ct2
=
ct2
+
1
limit_table
[
le
:
GetValue
()]
=
true
if
limit_value
then
limit_table
[
limit_value
]
=
true
end
end
end
end
...
...
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