Core/Text: Add support for BroadcastTextID in creature_text table. (#265)
This commit is contained in:
parent
6d740d4ab1
commit
09419e53b8
7 changed files with 53 additions and 27 deletions
|
|
@ -648,7 +648,7 @@ public:
|
|||
if (owner->ToPlayer()->GetGroup())
|
||||
{
|
||||
_hasParty = true;
|
||||
std::string const& text = sCreatureTextMgr->GetLocalizedChatString(me->GetEntry(), 0 /*text group*/, urand(0, 60) /*text id*/, LOCALE_enUS);
|
||||
std::string const& text = sCreatureTextMgr->GetLocalizedChatString(me->GetEntry(), 0, 0 /*text group*/, urand(0, 60) /*text id*/, LOCALE_enUS);
|
||||
|
||||
_data.Initialize(SMSG_MESSAGECHAT, 200); // guess size
|
||||
_data << uint8(CHAT_MSG_MONSTER_PARTY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue