private static Proficiency GetProficiency(this SlotItem slotItem) => proficiencies[Math.Max(Math.Min(slotItem.Proficiency, 7), 0)];
protected virtual double GetAirSuperiority(SlotItem slotItem, int onslot) { return(slotItem.Info.AA * Math.Sqrt(onslot)); }
protected override double GetProficiencyBonus(SlotItem slotItem, AirSuperiorityCalculationOptions options) => .0;
protected override double GetAirSuperiority(SlotItem slotItem, int onslot) => .0;
protected override double GetProficiencyBonus(SlotItem slotItem, AirSuperiorityCalculationOptions options) { var proficiency = slotItem.GetProficiency(); return(Math.Sqrt(proficiency.GetInternalValue(options) / 10.0) + proficiency.SeaplaneBomberBonus); }
protected override double GetAirSuperiority(SlotItem slotItem, int onslot) { // 장비 개수 대공 보너스 (★ x 0.2) return((slotItem.Info.AA + slotItem.Level * 0.2) * Math.Sqrt(onslot)); }
protected abstract double GetProficiencyBonus(SlotItem slotItem, AirSuperiorityCalculationOptions options);