mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Merge pull request #43 from qudzy/upstream/fix/suggest-faction-interpolation
Correct faction interpolation in reputation suggestion
This commit is contained in:
@@ -205,7 +205,7 @@ void SuggestWhatToDoAction::grindReputation()
|
|||||||
|
|
||||||
std::ostringstream itemout;
|
std::ostringstream itemout;
|
||||||
itemout << "|c004040b0" << allowedFactions[urand(0, allowedFactions.size() - 1)] << "|r";
|
itemout << "|c004040b0" << allowedFactions[urand(0, allowedFactions.size() - 1)] << "|r";
|
||||||
placeholders["{}action"] = itemout.str();
|
placeholders["%faction"] = itemout.str();
|
||||||
|
|
||||||
spam(sPlayerbotTextMgr->Format("suggest_faction", placeholders));
|
spam(sPlayerbotTextMgr->Format("suggest_faction", placeholders));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user