From a962422b12b16aa9fcbc3e132b57adb8a188e6c5 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Sat, 14 Mar 2026 09:52:33 -0700 Subject: [PATCH] fix(combatlog): map alternate immune2 spell miss value --- src/game/game_handler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index ba13a05f..9cd0a385 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -127,7 +127,9 @@ CombatTextEntry::Type combatTextTypeFromSpellMissInfo(uint8_t missInfo) { case 6: return CombatTextEntry::DEFLECT; case 7: return CombatTextEntry::ABSORB; case 8: return CombatTextEntry::RESIST; - case 10: return CombatTextEntry::IMMUNE; // Seen on some cores as a secondary immune result. + case 9: // Some cores encode SPELL_MISS_IMMUNE2 as 9. + case 10: // Others encode SPELL_MISS_IMMUNE2 as 10. + return CombatTextEntry::IMMUNE; case 11: return CombatTextEntry::REFLECT; default: return CombatTextEntry::MISS; }