◆ ModDest()
void spell_q12308_escape_from_silverbrook_summon_worgen::ModDest |
( |
SpellDestination & |
dest | ) |
|
|
inlineprivate |
2161 {
2163 float angle =
frand(0.75f, 1.25f) * M_PI;
2164
2167 }
float frand(float min, float max)
Definition Random.cpp:57
@ EFFECT_0
Definition SharedDefines.h:31
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > Effects
Definition SpellInfo.h:393
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:411
Unit * GetCaster()
Definition SpellScript.cpp:401
Position GetNearPosition(float dist, float angle)
Definition Object.cpp:2741
void Relocate(Position const &pos)
Definition Spell.cpp:93
References EFFECT_0, SpellInfo::Effects, frand(), SpellScript::GetCaster(), WorldObject::GetNearPosition(), SpellScript::GetSpellInfo(), and SpellDestination::Relocate().
Referenced by Register().
◆ PrepareSpellScript()
◆ Register()
void spell_q12308_escape_from_silverbrook_summon_worgen::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: