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:45
void DespawnOrUnsummon(Milliseconds msTimeToDespawn, Seconds forcedRespawnTimer)
Definition: Creature.cpp:2176
float GetPositionZ() const
Definition: Position.h:118
float GetPositionX() const
Definition: Position.h:116
float GetPositionY() const
Definition: Position.h:117
Definition: Player.h:1064
Player * GetCharmerOrOwnerPlayerOrPlayerItself() const
Definition: Unit.cpp:10607
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