Merge branch 'AzerothCore' of https://github.com/ZhengPeiRu21/mod-playerbots into AzerothCore

This commit is contained in:
郑佩茹
2022-04-19 10:43:33 -06:00
5 changed files with 21 additions and 11 deletions

View File

@@ -205,7 +205,7 @@ void SuggestWhatToDoAction::grindReputation()
std::ostringstream itemout;
itemout << "|c004040b0" << allowedFactions[urand(0, allowedFactions.size() - 1)] << "|r";
placeholders["{}action"] = itemout.str();
placeholders["%faction"] = itemout.str();
spam(sPlayerbotTextMgr->Format("suggest_faction", placeholders));
}