\r
public int CombinedFleetType { get; set; }\r
\r
- public IEnumerable<ItemStatus> AllSlot => SlotEx.Id == 0 ? Slot : new[] {SlotEx}.Concat(Slot);\r
+ public IEnumerable<ItemStatus> AllSlot => SlotEx.Id == 0 ? Slot : Slot.Concat(new[] {SlotEx});\r
\r
public ShipStatus()\r
{\r
if (now == 0 && max > 0)\r
return Damage.Sunk;\r
var ratio = max == 0 ? 1 : (double)now / max;\r
- return ratio > 0.75 ? Damage.Minor : ratio > 0.5 ? Damage.Small : ratio > 0.25 ? Damage.Half : Damage.Badly;\r
+ return ratio > 0.75 ? Damage.Minor :\r
+ ratio > 0.5 ? Damage.Small :\r
+ ratio > 0.25 ? Damage.Half : Damage.Badly;\r
}\r
\r
public TimeSpan RepairTime => TimeSpan.FromSeconds((int)(RepairTimePerHp.TotalSeconds * (MaxHp - NowHp)) + 30);\r