mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-22 13:06:23 +00:00
allow grinding
This commit is contained in:
@@ -48,8 +48,8 @@ bool AttackAnythingAction::isUseful()
|
||||
if (!name.empty() && name.find("Dummy") != std::string::npos) // Target is not a targetdummy
|
||||
return false;
|
||||
|
||||
if (!ChooseRpgTargetAction::isFollowValid(bot, target)) //Do not grind mobs far away from master.
|
||||
return false;
|
||||
// if (!ChooseRpgTargetAction::isFollowValid(bot, target)) //Do not grind mobs far away from master.
|
||||
// return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1491,7 +1491,7 @@ bool MoveRandomAction::Execute(Event event)
|
||||
|
||||
bool MoveRandomAction::isUseful()
|
||||
{
|
||||
return !AI_VALUE(GuidPosition, "rpg target") && !botAI->HasRealPlayerMaster();
|
||||
return !AI_VALUE(GuidPosition, "rpg target");
|
||||
}
|
||||
|
||||
bool MoveInsideAction::Execute(Event event)
|
||||
|
||||
Reference in New Issue
Block a user