mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
miscs
This commit is contained in:
@@ -36,9 +36,9 @@ bool AttackAnythingAction::isUseful()
|
||||
if (context->GetValue<TravelTarget*>("travel target")->Get()->isTraveling() &&
|
||||
ChooseRpgTargetAction::isFollowValid(bot, *context->GetValue<TravelTarget*>("travel target")->Get()->getPosition())) //Bot is traveling
|
||||
return false;
|
||||
if (bot->IsInCombat()) {
|
||||
return false;
|
||||
}
|
||||
// if (bot->IsInCombat()) {
|
||||
// return false;
|
||||
// }
|
||||
Unit* target = GetTarget();
|
||||
|
||||
if (!target)
|
||||
|
||||
Reference in New Issue
Block a user