2788 {
2790 {
2791 uint8 gender = player->getGender();
2792
2794
2795 switch (spellId)
2796 {
2799 break;
2802 break;
2803 default:
2804 break;
2805 }
2806
2808 }
2809 }
std::uint8_t uint8
Definition: Define.h:110
std::uint32_t uint32
Definition: Define.h:108
@ SPELL_SUNREAVER_DISGUISE_MALE
Definition: spell_generic.cpp:2761
@ SPELL_SUNREAVER_DISGUISE_TRIGGER
Definition: spell_generic.cpp:2759
@ SPELL_SILVER_COVENANT_DISGUISE_FEMALE
Definition: spell_generic.cpp:2764
@ SPELL_SILVER_COVENANT_DISGUISE_MALE
Definition: spell_generic.cpp:2765
@ SPELL_SUNREAVER_DISGUISE_FEMALE
Definition: spell_generic.cpp:2760
@ SPELL_SILVER_COVENANT_DISGUISE_TRIGGER
Definition: spell_generic.cpp:2763
Definition: Player.h:1056
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1169
uint32 Id
Definition: SpellInfo.h:318
Player * GetHitPlayer()
Definition: SpellScript.cpp:471
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401