Score calculation for item spell

This commit is contained in:
Yunfan Li
2024-04-13 14:42:07 +08:00
parent 69ecee0efe
commit 2b11f791f2
5 changed files with 449 additions and 70 deletions

View File

@@ -116,7 +116,8 @@ class PlayerbotFactory
static uint32 tradeSkills[];
static float CalculateItemScore(uint32 item_id, Player* bot);
float CalculateEnchantScore(uint32 enchant_id, Player* bot);
static float CalculateEnchantScore(uint32 enchant_id, Player* bot);
static float CalculateSpellScore(uint32 spell_id, Player* bot, uint32 trigger = ITEM_SPELLTRIGGER_ON_EQUIP);
void InitTalentsTree(bool incremental = false, bool use_template = true, bool reset = false);
static void InitTalentsBySpecNo(Player* bot, int specNo, bool reset);
static void InitTalentsByParsedSpecLink(Player* bot, std::vector<std::vector<uint32>> parsedSpecLink, bool reset);