Example #1
0
 private static Proficiency GetProficiency(this SlotItem slotItem) => proficiencies[Math.Max(Math.Min(slotItem.Proficiency, 7), 0)];
Example #2
0
 protected virtual double GetAirSuperiority(SlotItem slotItem, int onslot)
 {
     return(slotItem.Info.AA * Math.Sqrt(onslot));
 }
Example #3
0
 protected override double GetProficiencyBonus(SlotItem slotItem, AirSuperiorityCalculationOptions options) => .0;
Example #4
0
 protected override double GetAirSuperiority(SlotItem slotItem, int onslot) => .0;
Example #5
0
            protected override double GetProficiencyBonus(SlotItem slotItem, AirSuperiorityCalculationOptions options)
            {
                var proficiency = slotItem.GetProficiency();

                return(Math.Sqrt(proficiency.GetInternalValue(options) / 10.0) + proficiency.SeaplaneBomberBonus);
            }
Example #6
0
 protected override double GetAirSuperiority(SlotItem slotItem, int onslot)
 {
     // 장비 개수 대공 보너스 (★ x 0.2)
     return((slotItem.Info.AA + slotItem.Level * 0.2) * Math.Sqrt(onslot));
 }
Example #7
0
 protected abstract double GetProficiencyBonus(SlotItem slotItem, AirSuperiorityCalculationOptions options);