Core/Refactor: Fix alot of Possible loss of fraction warnings
This commit is contained in:
@@ -2318,7 +2318,7 @@ namespace Game.Entities
|
||||
if (getLevel() < levelForTarget)
|
||||
return 1.0f;
|
||||
|
||||
return GetMaxHealthByLevel(levelForTarget) / GetCreateHealth();
|
||||
return (float)GetMaxHealthByLevel(levelForTarget) / GetCreateHealth();
|
||||
}
|
||||
|
||||
float GetBaseDamageForLevel(uint level)
|
||||
|
||||
Reference in New Issue
Block a user