forked from open-osrs/runelite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
timers plugin: Improve imbued heart detection
As is the case with other graphics-based timers, the imbued heart timer will not fire if enough other graphics animations are triggered (such as those created when fighting the Dagannoth Kings). To add this timer more reliably, this commit will add the timer when a Magic stat boost occurs which is large enough that it can only be triggered by the heart. Because the heart's boost scales with the player's level, it gives an equal boost to the Magic essence and Magic potion boosts, depending on the base magic level. To account for this, it will only be applied if the user's base magic level is high enough to assuredly identify that a potion was not used to trigger the boost. Fixes runelite/runelite#3516 Co-authored-by: Lucas <[email protected]>
- Loading branch information
Showing
2 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters