mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
fix(Core/Totems): Searing Totem will properly attack neutral targets. (#7157)
Fixed #6310 Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
@@ -78,7 +78,7 @@ void TotemAI::UpdateAI(uint32 /*diff*/)
|
||||
|
||||
if (!victim && me->GetCharmerOrOwnerOrSelf()->IsInCombat())
|
||||
{
|
||||
victim = me->GetCharmerOrOwnerOrSelf()->GetVictim();
|
||||
victim = me->GetCharmerOrOwnerOrSelf()->getAttackerForHelper();
|
||||
}
|
||||
|
||||
// If have target
|
||||
|
||||
Reference in New Issue
Block a user