mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
feat: add PROC_TRIGGER floating combat text for spell procs
Handles SMSG_SPELL_CHANCE_PROC_LOG (previously silently ignored) to display gold "PROC!" floating text when the player triggers a spell proc. Reads caster/target packed GUIDs and spell ID from the packet header; skips variable-length effect payload. Adds CombatTextEntry::PROC_TRIGGER type with gold color rendering, visible alongside existing damage/heal/energize floating numbers.
This commit is contained in:
parent
10ad246e29
commit
3e8f03c7b7
3 changed files with 25 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ struct CombatTextEntry {
|
|||
enum Type : uint8_t {
|
||||
MELEE_DAMAGE, SPELL_DAMAGE, HEAL, MISS, DODGE, PARRY, BLOCK,
|
||||
CRIT_DAMAGE, CRIT_HEAL, PERIODIC_DAMAGE, PERIODIC_HEAL, ENVIRONMENTAL,
|
||||
ENERGIZE, XP_GAIN, IMMUNE, ABSORB, RESIST
|
||||
ENERGIZE, XP_GAIN, IMMUNE, ABSORB, RESIST, PROC_TRIGGER
|
||||
};
|
||||
Type type;
|
||||
int32_t amount = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue