Skip to content

Conversation

@Infinitay
Copy link
Owner

@Infinitay Infinitay commented Nov 21, 2024

EssencePouch

  • Fixed incorrect degraded values within updateMaxDegradedCapacity for colossal pouches at a lower Runecrafting level (<85)

- EssencePouch#createPouch sets degraded pouch remainingEssenceBeforeDecay to 0
- Fixed incorrect inventory state after pouch degrade and inventory update handled
- Revert `remainingEssenceBeforeDecay` for pouches in EssencePouchTrackingPlugin#handPouchActionsPostDegrade
@Infinitay
Copy link
Owner Author

Infinitay commented Nov 23, 2024

ca0d49e

EssencePouches

  • When creating an EssencePouch via #createPouch, set the remaining essence before decay to 0 instead of Integer.MIN_VALUE

EssencePouchTrackingPlugin

  • Fix the inventory state being incorrect after a pouch has degraded and the state successfully handled/updated
    • In cases where the user performs one fill pouch action, the inventory state was being updated and therefore when the #handPouchActionsPostDegrade was ran and it did the opposite, it caused rollover issues due to the wrong inventory state
  • Revert a pouch's remainingEssenceBeforeDecay within #handPouchActionsPostDegrade when performing opposite actions

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants