285 {
287
290 {
291 LocaleConstant loc_idx = player->GetSession()->GetSessionDbLocaleIndex();
293 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
295 {
297 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
298 }
299 else
300 {
302 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
303 }
304 }
305 }
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:275
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_HEADS_UP
Definition spell_item.cpp:276
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FACE_DOWN
Definition spell_item.cpp:277
Definition ObjectMgr.h:437