995 {
997 float angle =
frand(0.0f, 2 * M_PI);
998
1001 }
float frand(float min, float max)
Definition: Random.cpp:57
@ EFFECT_0
Definition: SharedDefines.h:31
Position GetNearPosition(float dist, float angle, bool disableWarning=false)
Definition: Object.cpp:2739
Definition: Position.h:27
void Relocate(Position const &pos)
Definition: Spell.cpp:93
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > Effects
Definition: SpellInfo.h:393
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401