306 {
308
311 {
312 LocaleConstant loc_idx = player->GetSession()->GetSessionDbLocaleIndex();
314 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
316 {
318 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
319 }
320 else
321 {
323 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
324 }
325 }
326 }
LocaleConstant
Definition Common.h:117
#define sObjectMgr
Definition ObjectMgr.h:1712
uint32 urand(uint32 min, uint32 max)
Definition Random.cpp:44
Player * ToPlayer()
Definition Object.h:202
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition SpellScript.cpp:590
Unit * GetCaster()
Definition SpellScript.cpp:401
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FLIP
Definition spell_item.cpp:296
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_HEADS_UP
Definition spell_item.cpp:297
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FACE_DOWN
Definition spell_item.cpp:298
Definition ObjectMgr.h:435