added acitivty autoscale and related config property

This commit is contained in:
bash
2024-10-03 07:47:48 +00:00
parent 00b16dbc22
commit 20f6d1563b
5 changed files with 35 additions and 32 deletions

View File

@@ -527,6 +527,7 @@ public:
bool HasManyPlayersNearby(uint32 trigerrValue = 20, float range = sPlayerbotAIConfig->sightDistance);
bool AllowActive(ActivityType activityType);
bool AllowActivity(ActivityType activityType = ALL_ACTIVITY, bool checkNow = false);
uint32 AutoScaleActivity(uint32 mod);
// Check if player is safe to use.
bool IsSafe(Player* player);