.NET Format Style Fixes

This commit is contained in:
chompDev
2025-06-24 15:29:18 +00:00
committed by Format Bot
parent 4fb19151be
commit 340db55f81
@@ -679,18 +679,20 @@ public class BotGenerator(
return null; return null;
} }
return bodyParts.Select(bp => new return bodyParts
.Select(bp => new
{ {
BodyPart = bp, BodyPart = bp,
TotalMaxHp = bp.Head.Max + TotalMaxHp = bp.Head.Max
bp.Chest.Max + + bp.Chest.Max
bp.LeftArm.Max + + bp.LeftArm.Max
bp.RightArm.Max + + bp.RightArm.Max
bp.LeftLeg.Max + + bp.LeftLeg.Max
bp.RightLeg.Max + bp.RightLeg.Max,
}) })
.OrderBy(x => x.TotalMaxHp) .OrderBy(x => x.TotalMaxHp)
.FirstOrDefault()?.BodyPart; .FirstOrDefault()
?.BodyPart;
} }
/// <summary> /// <summary>