fix: show IMMUNE text for miss type 5 in SMSG_SPELL_GO and SMSG_SPELLLOGMISS

IMMUNE misses (spell miss type 5) were shown as generic MISS text in both
spell cast feedback handlers. Now consistently shows IMMUNE combat text
to match the fix already applied to SMSG_ATTACKERSTATEUPDATE.
This commit is contained in:
Kelsi 2026-03-11 03:13:14 -07:00
parent 35683920ff
commit d5196abaec

View file

@ -2430,8 +2430,8 @@ void GameHandler::handlePacket(network::Packet& packet) {
CombatTextEntry::DODGE, // 1=DODGE
CombatTextEntry::PARRY, // 2=PARRY
CombatTextEntry::BLOCK, // 3=BLOCK
CombatTextEntry::MISS, // 4=EVADE → show as MISS
CombatTextEntry::MISS, // 5=IMMUNE → show as MISS
CombatTextEntry::MISS, // 4=EVADE
CombatTextEntry::IMMUNE, // 5=IMMUNE
CombatTextEntry::MISS, // 6=DEFLECT
CombatTextEntry::MISS, // 7=ABSORB
CombatTextEntry::MISS, // 8=RESIST
@ -13964,8 +13964,8 @@ void GameHandler::handleSpellGo(network::Packet& packet) {
CombatTextEntry::DODGE, // 1=DODGE
CombatTextEntry::PARRY, // 2=PARRY
CombatTextEntry::BLOCK, // 3=BLOCK
CombatTextEntry::MISS, // 4=EVADE → show as MISS
CombatTextEntry::MISS, // 5=IMMUNE → show as MISS
CombatTextEntry::MISS, // 4=EVADE
CombatTextEntry::IMMUNE, // 5=IMMUNE
CombatTextEntry::MISS, // 6=DEFLECT
CombatTextEntry::MISS, // 7=ABSORB
CombatTextEntry::MISS, // 8=RESIST