From db681ec4c62cf57aeb45cd18b9be9762d16aed5a Mon Sep 17 00:00:00 2001 From: Kelsi Date: Fri, 13 Mar 2026 19:28:22 -0700 Subject: [PATCH] fix(combatlog): target drain and leech self-gain events correctly --- src/game/game_handler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/game_handler.cpp b/src/game/game_handler.cpp index 13e6171b..b49e8c66 100644 --- a/src/game/game_handler.cpp +++ b/src/game/game_handler.cpp @@ -6344,7 +6344,7 @@ void GameHandler::handlePacket(network::Packet& packet) { exeCaster, drainTarget); else if (isPlayerCaster) addCombatText(CombatTextEntry::ENERGIZE, static_cast(drainAmount), exeSpellId, true, - static_cast(drainPower), exeCaster, drainTarget); + static_cast(drainPower), exeCaster, exeCaster); } LOG_DEBUG("SMSG_SPELLLOGEXECUTE POWER_DRAIN: spell=", exeSpellId, " power=", drainPower, " amount=", drainAmount); @@ -6365,7 +6365,7 @@ void GameHandler::handlePacket(network::Packet& packet) { exeCaster, leechTarget); else if (isPlayerCaster) addCombatText(CombatTextEntry::HEAL, static_cast(leechAmount), exeSpellId, true, 0, - exeCaster, leechTarget); + exeCaster, exeCaster); } LOG_DEBUG("SMSG_SPELLLOGEXECUTE HEALTH_LEECH: spell=", exeSpellId, " amount=", leechAmount); }