294 {
296
299 {
300 LocaleConstant loc_idx = player->GetSession()->GetSessionDbLocaleIndex();
302 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
304 {
306 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
307 }
308 else
309 {
311 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
312 }
313 }
314 }
LocaleConstant
Definition Common.h:125
#define sObjectMgr
Definition ObjectMgr.h:1731
uint32 urand(uint32 min, uint32 max)
Definition Random.cpp:44
Player * ToPlayer()
Definition Object.h:208
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition SpellScript.cpp:595
Unit * GetCaster()
Definition SpellScript.cpp:401
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FLIP
Definition spell_item.cpp:284
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_HEADS_UP
Definition spell_item.cpp:285
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FACE_DOWN
Definition spell_item.cpp:286
Definition ObjectMgr.h:437