mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-22 07:28:32 +00:00
int to float conversion
This commit is contained in:
@@ -1457,7 +1457,7 @@ void NPC::DoClassAttacks(Mob *target) {
|
||||
if(GetHaste() > 0)
|
||||
HasteModifier = (float)(10000 / (100 + GetHaste()));
|
||||
else if(GetHaste() < 0)
|
||||
HasteModifier = (100 - GetHaste());
|
||||
HasteModifier = (float)(100 - GetHaste());
|
||||
else
|
||||
HasteModifier = 100;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user