The chat history plugin replays messages by replacing spaces with nbsp to avoid triggering notifications and chat commands, and this was preventing the chat filter from filtering replayed messages. censorMessage already does a nbsp to space replacement.
This adds a field to Task which dictates the expected exp gain of the
task. When set to a non-zero value, it will prevent slayer exp gains
from registering as a kill unless they are of exactly that amount.
Closesrunelite/runelite#1865
This adds support for most degradeable and imbued items, which have
death prices that are fixed offsets of the prices of some other
reference item, clue boxes, and jewelery.
The plugin was refactored largely to be able to add the tests, and now
works on our internal DeathItem and ItemStack classes instead of widgets
and items.
Co-authored-by: Adam <Adam@sigterm.info>
Because the word "cold" is used both as a temperature ("The device is
cold"), and in a temperature change ("but colder than last time."),
HotColdTemperature tried to interpret COLDER temperature changes as a
COLD temperature match. By matching only the section of the temperature
string preceding the optional comma, this bug is avoided.
This was using the event's message instead of the node's, after the
node's message had been wrapped with col tags.
Additionally, fix plugin to match emoji triggers that are in the same
word as (col) tags.
* Refactor combat level calculations to use closed-form formulas.
Also move most calculations to the Experience utility class.
Fixes#7411.
* Add new test for magic levels that barely reach the next combat level.
* Add another test that breaks on master.
Add more prayer level tests to expose a bug in which
needed prayer levels for next combat level was 0 instead of 2 in some
corner cases and implemented fixes.
For example: Let prayer level p be an odd number. The current combat level
is exactly same for p and p - 1. Therefore given n is the needed prayer
levels for a combat level with p - 1 prayer then n - 1 is the needed
prayer levels for a combal level with p prayer.
Further more the usage of Math.floor was incorrect in every cases so it is
changed to Math.ceil.
Add a plugin that censors user defined words/sentences, changes the message, or removes the entire message containing them.
Co-authored-by: Adam <Adam@sigterm.info>