aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorthenecromancer <none@none>2010-02-18 01:06:47 +0100
committerthenecromancer <none@none>2010-02-18 01:06:47 +0100
commitcedf706f29fa4fdaccd9d12ee88ac47e6b4a4f16 (patch)
tree330ac4db12021614960080eaee6be61301e5add0 /src/game/Unit.cpp
parent54d8411eb950e68f2abee2be9f4491d368e024fe (diff)
Treat rune cooldowns as timers and not as remaining tick counts
Implement support for modifiers changing rune regeneration rate Apply all spells from Improved Unholy Aura --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 12e8f1b37e6..ae5f50d3710 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -7723,7 +7723,7 @@ bool Unit::HandleAuraProc(Unit *pVictim, uint32 damage, Aura * triggeredByAura,
((Player*)this)->GetBaseRune(i) != RUNE_BLOOD )
continue;
}
- if (((Player*)this)->GetRuneCooldown(i) != RUNE_COOLDOWN)
+ if (((Player*)this)->GetRuneCooldown(i) != ((Player*)this)->GetRuneBaseCooldown(i))
continue;
--runesLeft;