{\r
var param = " Lv" + ship.Level +\r
" 加重" + ship.EffectiveAntiAirForShip.ToString("d") +\r
- AntiAirPropellantBarrageChange(ship);\r
+ AntiAirPropellantBarrageChance(ship);\r
var name = ship.Name;\r
var realWidth = Scaler.ScaleWidth(ListForm.PanelWidth - 10);\r
return new Record\r
: ShipLabel.Name.BaseFont;\r
}\r
\r
- private static string AntiAirPropellantBarrageChange(ShipStatus ship)\r
+ private static string AntiAirPropellantBarrageChance(ShipStatus ship)\r
{\r
// ReSharper disable once CompareOfFloatsByEqualityOperator\r
if (ship.AntiAirPropellantBarrageChance == 0)\r
return "";\r
var chance = ship.AntiAirPropellantBarrageChance;\r
- return " 弾幕" + chance.ToString(chance >= 100 ? "d" : "f1");\r
+ return " 弾幕" + (chance < 100 ? chance.ToString("f1") : ((int)chance).ToString());\r
}\r
\r
private void CreateLabels()\r