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