1015 {
1017 float angle =
frand(0.0f, 2 * M_PI);
1018
1021 }
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:2728
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