mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 13:32:17 +00:00
Fix slow effect on NPC special attack reuse timers
This commit is contained in:
1 parent
f16beddf6e
commit
6c3d5c713c
2 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user