return AlvBonus.Select(bonus => (int)(unskilled + bonus)).ToArray();\r
}\r
\r
- public int[] CalcFighterPowerInBase(int slot, bool airDefence)\r
+ public int[] CalcFighterPowerInBase(int slot, bool airDefense)\r
{\r
if (!Spec.IsAircraft || slot == 0)\r
return new[] {0, 0};\r
- var airDefenceBonus = airDefence ? Spec.AntiBomber * 2 + Spec.Interception : Spec.Interception * 1.5;\r
- var unskilled = (Spec.AntiAir + airDefenceBonus + FighterPowerLevelBonus) * Math.Sqrt(slot);\r
+ var airDefenseBonus = airDefense ? Spec.AntiBomber * 2 + Spec.Interception : Spec.Interception * 1.5;\r
+ var unskilled = (Spec.AntiAir + airDefenseBonus + FighterPowerLevelBonus) * Math.Sqrt(slot);\r
return AlvBonusInBase.Select(bonus => (int)(unskilled + bonus)).ToArray();\r
}\r
\r