forked from mirror/azerothcore-wotlk
fix(Scripts/Spells): Fix 'still in combat' status after hunter tames a beast (in quest) (#25811)
This commit is contained in:
@@ -313,6 +313,7 @@ class spell_hun_taming_the_beast : public AuraScript
|
|||||||
if (Creature* creature = target->ToCreature())
|
if (Creature* creature = target->ToCreature())
|
||||||
{
|
{
|
||||||
creature->GetThreatMgr().ClearAllThreat();
|
creature->GetThreatMgr().ClearAllThreat();
|
||||||
|
creature->GetCombatManager().EndAllCombat();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user