Fix rotation class imbalance

This commit is contained in:
Yunfan Li
2024-01-15 13:21:49 +08:00
parent 8d4064d84c
commit dc4ec06164
2 changed files with 12 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ std::string ChangeTalentsAction::SpecList()
std::vector<std::vector<uint32>> parsed = sPlayerbotAIConfig->parsedSpecLinkOrder[cls][specNo][80];
std::unordered_map<int, int> tabCount;
tabCount[0] = tabCount[1] = tabCount[2] = 0;
for (auto item : parsed) {
for (auto &item : parsed) {
tabCount[item[0]] += item[3];
}
out << specFound << ". " << sPlayerbotAIConfig->premadeSpecName[cls][specNo] << " (";