72 {
74
77 {
78 LocaleConstant loc_idx = player->GetSession()->GetSessionDbLocaleIndex();
80 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
82 {
84 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
85 }
86 else
87 {
89 player->TextEmote(bct->GetText(loc_idx, player->getGender()));
90 }
91 }
92 }
LocaleConstant
Definition: Common.h:65
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FLIP
Definition: spell_item.cpp:62
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_HEADS_UP
Definition: spell_item.cpp:63
@ TITANIUM_SEAL_OF_DALARAN_BROADCAST_TEXT_ID_FACE_DOWN
Definition: spell_item.cpp:64
#define sObjectMgr
Definition: ObjectMgr.h:1635
Player * ToPlayer()
Definition: Object.h:201
Definition: Player.h:1081
Definition: ObjectMgr.h:434
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
Unit * GetCaster()
Definition: SpellScript.cpp:401