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

View File

@ -3,6 +3,8 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50)
== 09/09/2014 ==
demonstar55: Incrase Mob kick/bash timer by 3
see: http://www.eqemulator.org/forums/showthread.php?t=38734
demonstar55: Fix slow effect on NPC special attack reuse timers
see: http://www.eqemulator.org/forums/showthread.php?t=38734
== 09/08/2014 ==
demonstar55: Fix slow calc

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;