282 {
284 {
285 return;
286 }
287
289 if (!radius)
290 {
291 return;
292 }
293
295 if (distance > 1.0f)
296 {
298 }
299 }
std::int32_t int32
Definition: Define.h:103
@ EFFECT_0
Definition: SharedDefines.h:31
float GetDistance2d(WorldObject const *obj) const
Definition: Object.cpp:1274
std::array< SpellEffectInfo, MAX_SPELL_EFFECTS > Effects
Definition: SpellInfo.h:393
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
void SetHitDamage(int32 damage)
Definition: SpellScript.cpp:524
Unit * GetCaster()
Definition: SpellScript.cpp:401
int32 GetHitDamage()
Definition: SpellScript.cpp:514