aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 21d69b89f59..7e6e304b9ea 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6470,6 +6470,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// Frozen Power
if (dummySpell->SpellIconID == 3780)
{
+ if (this->GetDistance(target) < 15.0f)
+ return false;
float chance = triggerAmount;
if (!roll_chance_f(chance))
return false;