2692 {
2694 {
2695 uint8 gender = player->getGender();
2696
2698
2699 switch (spellId)
2700 {
2703 break;
2706 break;
2707 default:
2708 break;
2709 }
2710
2712 }
2713 }
std::uint8_t uint8
Definition: Define.h:110
std::uint32_t uint32
Definition: Define.h:108
@ SPELL_SUNREAVER_DISGUISE_MALE
Definition: spell_generic.cpp:2665
@ SPELL_SUNREAVER_DISGUISE_TRIGGER
Definition: spell_generic.cpp:2663
@ SPELL_SILVER_COVENANT_DISGUISE_FEMALE
Definition: spell_generic.cpp:2668
@ SPELL_SILVER_COVENANT_DISGUISE_MALE
Definition: spell_generic.cpp:2669
@ SPELL_SUNREAVER_DISGUISE_FEMALE
Definition: spell_generic.cpp:2664
@ SPELL_SILVER_COVENANT_DISGUISE_TRIGGER
Definition: spell_generic.cpp:2667
Definition: Player.h:1046
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