mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 10:30:01 +01:00
[performance] SmartScale slighty more aggresive, after testing i found some bots to active
This commit is contained in:
parent
1f85eaaecd
commit
8c86c6b6d7
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user