EsreverWoW / LibThreatClassic

A library for multi-target threat tracking in WoW Classic (1.13.2).
GNU Lesser General Public License v2.1
8 stars 9 forks source link

Fix SPELL_HEAL event handler #19

Closed dev7355608 closed 3 years ago

dev7355608 commented 4 years ago

Add missing parameters: overhealing and absorbed. Change the calculation of the effective heal: use the overhealing parameter instead of UnitHealth/UnitHealthMax.

UnitHealth does not update instantly; so using UnitHealth to calculate the effective heal could yield incorrect results.

dfherr commented 4 years ago

this is fixed in https://github.com/dfherr/LibThreatClassic2