Fixes creature health not being updated in client
This commit is contained in:
@@ -2891,7 +2891,7 @@ namespace Game.Entities
|
|||||||
if (GetLevel() < levelForTarget)
|
if (GetLevel() < levelForTarget)
|
||||||
return 1.0f;
|
return 1.0f;
|
||||||
|
|
||||||
return (float)GetMaxHealthByLevel(levelForTarget) / GetCreateHealth();
|
return (float)GetMaxHealthByLevel(levelForTarget) / (float)GetCreateHealth();
|
||||||
}
|
}
|
||||||
|
|
||||||
public float GetBaseDamageForLevel(uint level)
|
public float GetBaseDamageForLevel(uint level)
|
||||||
|
|||||||
@@ -1210,7 +1210,7 @@ namespace Game.Entities
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UnitData() : HasChangesMask(223)
|
public class UnitData() : HasChangesMask((int)EntityFragment.CGObject, TypeId.Unit, 223)
|
||||||
{
|
{
|
||||||
public UpdateField<bool> Field_314 = new(0, 1);
|
public UpdateField<bool> Field_314 = new(0, 1);
|
||||||
public UpdateField<List<uint>> StateWorldEffectIDs = new(0, 2);
|
public UpdateField<List<uint>> StateWorldEffectIDs = new(0, 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user