mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-07-11 03:13:10 +00:00
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())
|
||||
{
|
||||
creature->GetThreatMgr().ClearAllThreat();
|
||||
creature->GetCombatManager().EndAllCombat();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user