mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Implement SMSG_SPELLENERGIZELOG and fix missing combat text cases
Parse SPELLENERGIZELOG (victim/caster packed GUIDs + spellId + powerType + amount) and emit ENERGIZE combat text for mana/energy gains. Add ENERGIZE to CombatTextEntry::Type enum (blue +N text). Also add explicit renderCombatText cases for BLOCK, PERIODIC_DAMAGE, PERIODIC_HEAL, and ENVIRONMENTAL — previously all fell through to the colourless default handler.
This commit is contained in:
parent
22bc5954d7
commit
f1d31643fc
3 changed files with 43 additions and 2 deletions
|
|
@ -50,7 +50,8 @@ struct ActionBarSlot {
|
|||
struct CombatTextEntry {
|
||||
enum Type : uint8_t {
|
||||
MELEE_DAMAGE, SPELL_DAMAGE, HEAL, MISS, DODGE, PARRY, BLOCK,
|
||||
CRIT_DAMAGE, CRIT_HEAL, PERIODIC_DAMAGE, PERIODIC_HEAL, ENVIRONMENTAL
|
||||
CRIT_DAMAGE, CRIT_HEAL, PERIODIC_DAMAGE, PERIODIC_HEAL, ENVIRONMENTAL,
|
||||
ENERGIZE
|
||||
};
|
||||
Type type;
|
||||
int32_t amount = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue