void StartAttack(Unit* u, bool force = false) { if (GetBotCommandState() == COMMAND_ATTACK && !force) return; Aggro(u); SetBotCommandState(COMMAND_ATTACK); GetInPosition(force, true); }
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); }