Fix spec list

This commit is contained in:
Yunfan Li
2024-01-14 23:39:26 +08:00
parent 368432963d
commit 8d4064d84c

View File

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