2787 {
2789 {
2790 uint8 gender = player->getGender();
2791
2793
2794 switch (spellId)
2795 {
2798 break;
2801 break;
2802 default:
2803 break;
2804 }
2805
2807 }
2808 }
std::uint8_t uint8
Definition Define.h:109
std::uint32_t uint32
Definition Define.h:107
uint32 Id
Definition SpellInfo.h:320
Player * GetHitPlayer()
Definition SpellScript.cpp:471
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:411
Unit * GetCaster()
Definition SpellScript.cpp:401
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:1194
@ SPELL_SUNREAVER_DISGUISE_MALE
Definition spell_generic.cpp:2760
@ SPELL_SUNREAVER_DISGUISE_TRIGGER
Definition spell_generic.cpp:2758
@ SPELL_SILVER_COVENANT_DISGUISE_FEMALE
Definition spell_generic.cpp:2763
@ SPELL_SILVER_COVENANT_DISGUISE_MALE
Definition spell_generic.cpp:2764
@ SPELL_SUNREAVER_DISGUISE_FEMALE
Definition spell_generic.cpp:2759
@ SPELL_SILVER_COVENANT_DISGUISE_TRIGGER
Definition spell_generic.cpp:2762