2155 {
2157 float angle =
frand(0.75f, 1.25f) * M_PI;
2158
2161 }
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