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

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