Matsyir / pvp-performance-tracker

External plugin for RuneLite: Tracks PvP performance by keeping track of various stats during combat
BSD 2-Clause "Simplified" License
4 stars 15 forks source link

Deserved Damage: Tome of fire damage bonus #7

Closed Matsyir closed 4 years ago

Matsyir commented 4 years ago

Related plugin component(s) Statistic 2: Deserved Damage

Describe the bug The damage bonus given from tome of fire is not applied to deserved damage.

Additional context https://oldschool.runescape.wiki/w/Tome_of_fire

This should be added within PvpDamageCalc, if they are using a magic attack animation from the normal spellbook and they're using a tome of fire. Currently, we cannot differentiate Fire spells from any other elemental spell, so assume they're using a fire spell if they are using a spell from the standard spellbook (which is much more likely anyways).