Skip to content

Commit

Permalink
bot always active
Browse files Browse the repository at this point in the history
  • Loading branch information
hermensbas committed Oct 7, 2024
1 parent e077844 commit b720251
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/PlayerbotAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4333,9 +4333,10 @@ uint32 PlayerbotAI::AutoScaleActivity(uint32 mod)
(!HasRealPlayers(map) ||
!map->IsGridLoaded(bot->GetPositionX(), bot->GetPositionY())))
{
if (maxDiff > 90) return 0;
if (maxDiff > 60) return (mod * 1) / 10;
if (maxDiff > 30) return (mod * 2) / 10;
// we never want no acitivity, if you want a world that feels alive.
if (maxDiff > 120) return (mod * 0.5) / 10;
if (maxDiff > 60) return (mod * 1) / 10;
if (maxDiff > 30) return (mod * 2) / 10;

return (mod * 3) / 10;
}
Expand Down

0 comments on commit b720251

Please sign in to comment.