65 {
67 {
68 uint8 gender = target->getGender();
71 {
72 case 1:
74 break;
75 case 2:
77 break;
78 case 3:
80 break;
81 case 4:
83 break;
84 case 5:
86 break;
87 case 6:
89 break;
90 case 7:
92 break;
93 default:
94 break;
95 }
96
98 }
99 }
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:44
std::uint8_t uint8
Definition: Define.h:109
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_WHISP_COSTUME
Definition: hallows_end.cpp:56
@ SPELL_SKELETON_COSTUME
Definition: hallows_end.cpp:52
@ SPELL_BAT_COSTUME
Definition: hallows_end.cpp:53
@ SPELL_LEPER_GNOME_COSTUME_MALE
Definition: hallows_end.cpp:50
@ SPELL_NINJA_COSTUME_MALE
Definition: hallows_end.cpp:48
@ SPELL_TRICK_BUFF
Definition: hallows_end.cpp:57
@ SPELL_NINJA_COSTUME_FEMALE
Definition: hallows_end.cpp:49
@ SPELL_GHOST_COSTUME_FEMALE
Definition: hallows_end.cpp:55
@ SPELL_PIRATE_COSTUME_MALE
Definition: hallows_end.cpp:46
@ SPELL_PIRATE_COSTUME_FEMALE
Definition: hallows_end.cpp:47
@ SPELL_LEPER_GNOME_COSTUME_FEMALE
Definition: hallows_end.cpp:51
@ SPELL_GHOST_COSTUME_MALE
Definition: hallows_end.cpp:54
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
Player * GetHitPlayer()
Definition: SpellScript.cpp:471
Unit * GetCaster()
Definition: SpellScript.cpp:401