/// <summary>
 /// Returns the max HP of the given BodyPartDef. It is basically a clone of the GetMaxHealth method.
 /// </summary>
 /// <param name="def"></param>
 /// <param name="pawn"></param>
 /// <returns></returns>
 public static float GetRawMaxHealth(this BodyPartDef def, Pawn pawn)
 {
     return(EBFEndpoints.GetMaxHealthUnmodified(def, pawn));
 }