1812 {
1814 {
1816 return;
1817 }
1818
1820 if (dist <= 7.0f)
1821 {
1823 }
1824 else
1825 {
1826 dist -= 6.0f;
1828 }
1829 }
std::int32_t int32
Definition: Define.h:103
@ EFFECT_1
Definition: SharedDefines.h:32
float GetExactDist2d(const float x, const float y) const
Definition: Position.h:165
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
void SetHitDamage(int32 damage)
Definition: SpellScript.cpp:524
Unit * GetCaster()
Definition: SpellScript.cpp:401