188 {
191 if (!target || caster == target)
192 return;
193
198
200 {
201
203 }
204 }
int32 irand(int32 min, int32 max)
Definition: Random.cpp:37
@ SPELL_RACER_DEATH_VISUAL
Definition: winter_veil.cpp:117
@ SPELL_RACER_FLAMES
Definition: winter_veil.cpp:121
@ SPELL_RACER_KILL_COUNTER
Definition: winter_veil.cpp:119
Definition: Creature.h:43
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2178
float GetPositionZ() const
Definition: Position.h:118
float GetPositionX() const
Definition: Position.h:116
float GetPositionY() const
Definition: Position.h:117
Definition: Player.h:1081
Player * GetCharmerOrOwnerPlayerOrPlayerItself() const
Definition: Unit.cpp:10616
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
Creature * GetHitCreature()
Definition: SpellScript.cpp:458
Unit * GetCaster()
Definition: SpellScript.cpp:401