diff --git a/Source/Game/Entities/Creature/Creature.cs b/Source/Game/Entities/Creature/Creature.cs index a476b75a0..505d18ddf 100644 --- a/Source/Game/Entities/Creature/Creature.cs +++ b/Source/Game/Entities/Creature/Creature.cs @@ -2891,7 +2891,7 @@ namespace Game.Entities if (GetLevel() < levelForTarget) return 1.0f; - return (float)GetMaxHealthByLevel(levelForTarget) / GetCreateHealth(); + return (float)GetMaxHealthByLevel(levelForTarget) / (float)GetCreateHealth(); } public float GetBaseDamageForLevel(uint level) diff --git a/Source/Game/Entities/Object/Update/UpdateFields.cs b/Source/Game/Entities/Object/Update/UpdateFields.cs index b4dd72718..1653f25ee 100644 --- a/Source/Game/Entities/Object/Update/UpdateFields.cs +++ b/Source/Game/Entities/Object/Update/UpdateFields.cs @@ -1210,7 +1210,7 @@ namespace Game.Entities } } - public class UnitData() : HasChangesMask(223) + public class UnitData() : HasChangesMask((int)EntityFragment.CGObject, TypeId.Unit, 223) { public UpdateField Field_314 = new(0, 1); public UpdateField> StateWorldEffectIDs = new(0, 2);