2815 {
2817 {
2818 uint8 gender = player->getGender();
2819
2821
2822 switch (spellId)
2823 {
2826 break;
2829 break;
2830 default:
2831 break;
2832 }
2833
2835 }
2836 }
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_SUNREAVER_DISGUISE_MALE
Definition: spell_generic.cpp:2788
@ SPELL_SUNREAVER_DISGUISE_TRIGGER
Definition: spell_generic.cpp:2786
@ SPELL_SILVER_COVENANT_DISGUISE_FEMALE
Definition: spell_generic.cpp:2791
@ SPELL_SILVER_COVENANT_DISGUISE_MALE
Definition: spell_generic.cpp:2792
@ SPELL_SUNREAVER_DISGUISE_FEMALE
Definition: spell_generic.cpp:2787
@ SPELL_SILVER_COVENANT_DISGUISE_TRIGGER
Definition: spell_generic.cpp:2790
Definition: Player.h:1064
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:1168
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