topN GetMixedGearScore

This commit is contained in:
Yunfan Li
2023-10-05 01:37:47 +08:00
parent 2aa7ff5a72
commit e75a824a85
3 changed files with 38 additions and 18 deletions

View File

@@ -400,7 +400,7 @@ class PlayerbotAI : public PlayerbotAIBase
bool IsInVehicle(bool canControl = false, bool canCast = false, bool canAttack = false, bool canTurn = false, bool fixed = false);
uint32 GetEquipGearScore(Player* player, bool withBags, bool withBank);
static uint32 GetMixedGearScore(Player* player, bool withBags, bool withBank);
static uint32 GetMixedGearScore(Player* player, bool withBags, bool withBank, uint32 topN = 0);
bool HasSkill(SkillType skill);
bool IsAllowedCommand(std::string const text);
float GetRange(std::string const type);