*Fix this part of Frozen Power: "when used on targets at or further than 15 yards from you".

--HG--
branch : trunk
This commit is contained in:
Anubisss
2009-08-17 12:02:33 +02:00
parent 69c7ba7255
commit 609b134996
+2
View File
@@ -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;