71 {
73
76 {
77 LocaleConstant loc_idx = player->GetSession()->GetSessionDbLocaleIndex();
79 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
81 {
83 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
84 }
85 else
86 {
88 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
89 }
90 }
91 }
LocaleConstant
Definition: Common.h:65
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
#define sObjectMgr
Definition: ObjectMgr.h:1623
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FLIP
Definition: spell_item.cpp:61
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_HEADS_UP
Definition: spell_item.cpp:62
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FACE_DOWN
Definition: spell_item.cpp:63
Player * ToPlayer()
Definition: Object.h:198
Definition: Player.h:1064
Definition: ObjectMgr.h:435
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
Unit * GetCaster()
Definition: SpellScript.cpp:401