Fix slow effect on NPC special attack reuse timers

This commit is contained in:
Michael Cook (mackal)
2014-09-09 15:34:30 -04:00
parent f16beddf6e
commit 6c3d5c713c
2 changed files with 3 additions and 3 deletions
+1 -3
View File
@@ -1413,10 +1413,8 @@ void NPC::DoClassAttacks(Mob *target) {
return;
float HasteModifier = 0;
if(GetHaste() > 0)
if (GetHaste())
HasteModifier = 10000 / (100 + GetHaste());
else if(GetHaste() < 0)
HasteModifier = (100 - GetHaste());
else
HasteModifier = 100;