mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-20 06:07:51 -04:00
addCombatText now accepts optional srcGuid/dstGuid parameters. When provided, the persistent combat log resolves names from the actual packet GUIDs rather than always falling back to playerGuid/targetGuid. Updated handleAttackerStateUpdate, handleSpellDamageLog, handleSpellHealLog, and SMSG_PERIODICAURALOG to pass data.attackerGuid / data.targetGuid (or casterGuid/victimGuid), so the combat log correctly records the attacker name when being hit by enemies the player has not selected as their current target. All 48 existing call sites use the 0/0 default and are unaffected.