2789 {
2791 {
2792 uint8 gender = player->getGender();
2793
2795
2796 switch (spellId)
2797 {
2800 break;
2803 break;
2804 default:
2805 break;
2806 }
2807
2809 }
2810 }
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_SUNREAVER_DISGUISE_MALE
Definition: spell_generic.cpp:2762
@ SPELL_SUNREAVER_DISGUISE_TRIGGER
Definition: spell_generic.cpp:2760
@ SPELL_SILVER_COVENANT_DISGUISE_FEMALE
Definition: spell_generic.cpp:2765
@ SPELL_SILVER_COVENANT_DISGUISE_MALE
Definition: spell_generic.cpp:2766
@ SPELL_SUNREAVER_DISGUISE_FEMALE
Definition: spell_generic.cpp:2761
@ SPELL_SILVER_COVENANT_DISGUISE_TRIGGER
Definition: spell_generic.cpp:2764
Definition: Player.h:1081
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:1167
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