void StartAttack(Unit* u, bool force = false)
 {
     if (GetBotCommandState() == COMMAND_ATTACK && !force) return;
     Aggro(u);
     SetBotCommandState(COMMAND_ATTACK);
     GetInPosition(force, true);
 }
Example #2
0
 void StartAttack(Unit* u, bool force = false)
 {
     if (GetBotCommandState() == COMMAND_ATTACK && !force) return;
     Aggro(u);
     GetInPosition(force, true);
     SetBotCommandState(COMMAND_ATTACK);
     fear_cd = std::max<uint32>(fear_cd, 1000);
 }