Exemple #1
0
 public static int GetCostOfNextLevels(this VPerk perk, int increase = 1)
 {
     return(VCalculator.Calculate(perk.StartingCost, perk.IncrementCost, perk.DesiredLevel, perk.DesiredLevel + increase));
 }
Exemple #2
0
 public static int GetRemainingCost(this VPerk perk)
 {
     return(VCalculator.Calculate(perk.StartingCost, perk.IncrementCost, 0, perk.DesiredLevel));
 }
Exemple #3
0
 public static int GetCurrentCost(this VPerk perk)
 {
     return(VCalculator.Calculate(perk.StartingCost, perk.IncrementCost, 0, 0));
 }