Skip to content

fix: apply offset queue amount to craft list concentration queue#1383

Open
yltsmees wants to merge 2 commits into
derfloh205:mainfrom
yltsmees:fix-smart-concentration-ingenuity
Open

fix: apply offset queue amount to craft list concentration queue#1383
yltsmees wants to merge 2 commits into
derfloh205:mainfrom
yltsmees:fix-smart-concentration-ingenuity

Conversation

@yltsmees

Copy link
Copy Markdown

This fixes smart concentration queueing in CraftLists.

The previous logic calculated queueableAmount from available concentration, but also used that same value as the final queued amount. This ignored offsetQueueAmount, so extra buffer crafts were not added for expected Ingenuity procs.

This change calculates totalQueueAmount as queueableAmount + offsetQueueAmount, applies maxQueueAmount to the final queued amount, caps SBF crafts to the final queued amount, and only subtracts concentration for the real concentration-limited crafts.

Offset crafts are added as an extra buffer, but they do not consume concentration upfront.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant