Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Vury Leo
pre-release-database-cdb
Commits
771e0a10
Commit
771e0a10
authored
Jun 02, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix extra material count limit
parent
f5ddfb2d
Pipeline
#37087
failed with stages
in 3 minutes and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
script/c58570206.lua
script/c58570206.lua
+0
-1
script/procedure.lua
script/procedure.lua
+5
-1
No files found.
script/c58570206.lua
View file @
771e0a10
...
...
@@ -25,7 +25,6 @@ function s.fusfilter(c)
if
material_count
~=
nil
and
#
material_count
>=
2
then
if
material_count
[
2
]
<
3
then
return
false
end
end
end
...
...
script/procedure.lua
View file @
771e0a10
...
...
@@ -2641,8 +2641,12 @@ function FusionSpell.GetSummonOperation(
---For each group, let user select the material that apply the extra material effect.
for
material_effect
,
grouped_materials
in
pairs
(
material_grouped_by_extra_material_effect
)
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
material_effect
:
GetDescription
())
local
extra_material_limit
=#
grouped_materials
--- in case of アマゾネスの秘術 or 影牢の呪縛, limit the maximuim number to choose
local
extra_material_limit
=
material_effect
:
GetLabel
()
or
#
grouped_materials
local
material_effect_material_count_limit
=
({
material_effect
:
GetLabel
()})[
1
]
if
material_effect_material_count_limit
~=
0
then
extra_material_limit
=
material_effect_material_count_limit
end
local
materials_to_apply
=
grouped_materials
:
Select
(
tp
,
0
,
extra_material_limit
,
nil
)
local
rest_materials
=
grouped_materials
-
materials_to_apply
if
#
rest_materials
>
0
then
...
...
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