63 {
65 {
66 uint8 gender = target->getGender();
69 {
70 case 1:
72 break;
73 case 2:
75 break;
76 case 3:
78 break;
79 case 4:
81 break;
82 case 5:
84 break;
85 case 6:
87 break;
88 case 7:
90 break;
91 default:
92 break;
93 }
94
96 }
97 }
std::uint8_t uint8
Definition: Define.h:110
std::uint32_t uint32
Definition: Define.h:108
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
@ SPELL_WHISP_COSTUME
Definition: hallows_end.cpp:54
@ SPELL_SKELETON_COSTUME
Definition: hallows_end.cpp:50
@ SPELL_BAT_COSTUME
Definition: hallows_end.cpp:51
@ SPELL_LEPER_GNOME_COSTUME_MALE
Definition: hallows_end.cpp:48
@ SPELL_NINJA_COSTUME_MALE
Definition: hallows_end.cpp:46
@ SPELL_TRICK_BUFF
Definition: hallows_end.cpp:55
@ SPELL_NINJA_COSTUME_FEMALE
Definition: hallows_end.cpp:47
@ SPELL_GHOST_COSTUME_FEMALE
Definition: hallows_end.cpp:53
@ SPELL_PIRATE_COSTUME_MALE
Definition: hallows_end.cpp:44
@ SPELL_PIRATE_COSTUME_FEMALE
Definition: hallows_end.cpp:45
@ SPELL_LEPER_GNOME_COSTUME_FEMALE
Definition: hallows_end.cpp:49
@ SPELL_GHOST_COSTUME_MALE
Definition: hallows_end.cpp:52
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
Player * GetHitPlayer()
Definition: SpellScript.cpp:471
Unit * GetCaster()
Definition: SpellScript.cpp:401