mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Merge pull request #595 from hermensbas/feature/autoscale_profile_increase_slightly_more_aggrassive
[performance] SmartScale slighty more aggressive
This commit is contained in:
@@ -4203,24 +4203,27 @@ std::pair<uint32, uint32> PlayerbotAI::GetPriorityBracket(ActivePiorityType type
|
|||||||
case ActivePiorityType::IN_COMBAT:
|
case ActivePiorityType::IN_COMBAT:
|
||||||
return {0, 10};
|
return {0, 10};
|
||||||
case ActivePiorityType::IN_BG_QUEUE:
|
case ActivePiorityType::IN_BG_QUEUE:
|
||||||
case ActivePiorityType::IN_LFG:
|
|
||||||
return {0, 20};
|
return {0, 20};
|
||||||
case ActivePiorityType::NEARBY_PLAYER:
|
case ActivePiorityType::IN_LFG:
|
||||||
return {0, 30};
|
return {0, 30};
|
||||||
case ActivePiorityType::PLAYER_FRIEND:
|
case ActivePiorityType::NEARBY_PLAYER:
|
||||||
return {0, 40};
|
return {0, 40};
|
||||||
case ActivePiorityType::IN_ACTIVE_AREA:
|
case ActivePiorityType::PLAYER_FRIEND:
|
||||||
case ActivePiorityType::PLAYER_GUILD:
|
case ActivePiorityType::PLAYER_GUILD:
|
||||||
return {0, 50};
|
return {0, 50};
|
||||||
|
case ActivePiorityType::IN_ACTIVE_AREA:
|
||||||
|
return {30, 100};
|
||||||
case ActivePiorityType::IN_ACTIVE_MAP:
|
case ActivePiorityType::IN_ACTIVE_MAP:
|
||||||
return {20, 100};
|
return {50, 100};
|
||||||
case ActivePiorityType::IN_INACTIVE_MAP:
|
case ActivePiorityType::IN_INACTIVE_MAP:
|
||||||
return {50, 100};
|
return {70, 100};
|
||||||
case ActivePiorityType::IN_EMPTY_SERVER:
|
case ActivePiorityType::IN_EMPTY_SERVER:
|
||||||
return {90, 100};
|
return {80, 100};
|
||||||
default:
|
default:
|
||||||
return {50, 100};
|
return {90, 100};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return {90, 100};
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PlayerbotAI::AllowActive(ActivityType activityType)
|
bool PlayerbotAI::AllowActive(ActivityType activityType)
|
||||||
|
|||||||
Reference in New Issue
Block a user