Update PlayerManager to work with the latest changes made to high risk worlds.
Protect item prayer is completely disabled on high risk worlds.
Also changed the ternary operator to only apply if the prayer level is less than 25, since players can use the prayer if they are 25 prayer.
The value cannot be more than MAX_VALUE so the previous condition was
never met. Additionally use MAX_QUANTITY constant instead of abusing
char max value which is completely unrelated.
Fix notifications for highlighted drops occuring when a non highlighted drop is
assigned a value tier with the same color as highlighted drops. Check the
highlightedItems list directly instead of doing a color comparison.
Because both level up dialogs and BA high gambles use the same widget
interface, commit 40f032bede caused BA
high gambles and some level up dialogs to trigger screenshots if either
config was enabled in the config, as that would set a flag to capture a
screenshot on the next game tick based on the widget text. This commit
adds config checks to the DIALOG_SPRITE_TEXT branch to ensure the
appropriate config flag must be set for a screenshot to be captured.
this should fix the following known bugs:
- putting a U+2019 in the config causes it to become corrupted and
~double in size every launch
- scripts become assembled incorrectly and the nbsp after your name in
the chatbox becomes incorrect
- the feed panel doesn't show emoji
`RING_OF_ENDURANCE_24844` is the ingame item which can actually be
obtained. `RING_OF_ENDURANCE` is the original ring ID for [the ring
which could not be traded on the Grand Exchange on Darkmeyer's day of
release][1]. This commit corrects the mapping to map to the tradeable
ring.
[1]: https://secure.runescape.com/m=news/darkmeyer-day-one-feedback-changes?oldschool=1