mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
*Do not let mob flee to call help when it has AURA_PREVENTS_FLEEING.
--HG-- branch : trunk
This commit is contained in:
@@ -790,6 +790,8 @@ struct TRINITY_DLL_DECL Mob_EventAI : public ScriptedAI
|
||||
break;
|
||||
case ACTION_T_FLEE:
|
||||
{
|
||||
if(m_creature->HasAuraType(SPELL_AURA_PREVENTS_FLEEING))
|
||||
break;
|
||||
TimetoFleeLeft = 8000;
|
||||
m_creature->DoFleeToGetAssistance();
|
||||
IsFleeing = true;
|
||||
|
||||
Reference in New Issue
Block a user