feat: add ABSORB and RESIST combat text types for spell misses

Adds dedicated CombatTextEntry::Type entries for ABSORB (miss type 7)
and RESIST (miss type 8), replacing the generic MISS display. Updates
missTypes arrays in SMSG_SPELLLOGMISS and SMSG_SPELL_GO, and adds
light-blue "Absorb" and grey "Resist" rendering in the combat text overlay.
This commit is contained in:
Kelsi 2026-03-11 03:23:01 -07:00
parent d5196abaec
commit e902375763
3 changed files with 13 additions and 5 deletions

View file

@ -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
ENERGIZE, XP_GAIN, IMMUNE, ABSORB, RESIST
};
Type type;
int32_t amount = 0;