public void Recalculate(MechStats baseStats) { this.TopSpeed = Config.Lerpables[Lerpable.TopSpeed].Apply(baseStats.Mobility / 100); this.InitialJumpSpeed = Config.Lerpables[Lerpable.InitialJumpSpeed].Apply(baseStats.Mobility / 100); this.FallSpeed = Config.Lerpables[Lerpable.FallSpeed].Apply(baseStats.Mobility / 100); this.DashSpeed = Config.Lerpables[Lerpable.DashSpeed].Apply(baseStats.Mobility / 100); }
public MechDerivedStats(MechStats baseStats) { this.Recalculate(baseStats); }