284 {
286
289 {
290 LocaleConstant loc_idx = player->GetSession()->GetSessionDbLocaleIndex();
292 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
294 {
296 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
297 }
298 else
299 {
301 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
302 }
303 }
304 }
LocaleConstant
Definition Common.h:117
#define sObjectMgr
Definition ObjectMgr.h:1723
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:274
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_HEADS_UP
Definition spell_item.cpp:275
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FACE_DOWN
Definition spell_item.cpp:276
Definition ObjectMgr.h:435