Skip to content

Missing Upgrade Options #52

@Markneoneo

Description

@Markneoneo

Ok so i added more items but the issue is sometimes all 3 upgrades slots is filled, and sometimes it isnt, even though there is still available upgrades left.
I could replicate this issue by focus upgrading my weapons first (which were only 2) until weapons upgrades ran out.
The game is supposed to fill the rest with passive item upgrades until it ran out but i think it sometimes still registers weapons upgrades and sees there is no more, leaving the upgrade slot empty.
The main culprit probably lies within ApplyUpgradeOption(), i would try debug but i alr on time crunch so imma just see if you encountered anything like this before.
everything is randomized, basically it will always show 3 available upgrades (whether weapon or items), unless the player runs out of upgrades (by obtaining them all) then it will slowly reduce to 2 (when there is only 2 upgrades left) then 1 (when only 1 left).
right now i have 2 weapons and 6 items so im limit testing by just spamming the 2 weapon upgrades until there are no weapon upgrades left
which leads the to issue where the upgrade options sometimes only show 1 or 2 upgrades, when it supposed to show all 3 upgrade options (since item upgrades are still fully available)
i emphasise sometimes cuz it suggests there is rng involved which probably narrows down the issue to within ApplyUpgradeOption()

Metadata

Metadata

Assignees

Labels

bug 🐞Something isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions