public float GetSwiftnessValue(float level) { Wear wear = (Wear)this.m_item; AttributeCurve swiftnessCurve = wear.swiftness; return(swiftnessCurve.curve.Evaluate(level)); }
public float GetCarriedGearEfficacyValue(float level) { Wear wear = (Wear)this.m_item; AttributeCurve carriedGearEfficacyCurve = wear.carriedGearEfficacy; return(carriedGearEfficacyCurve.curve.Evaluate(level)); }
public float GetArmourValue(float level) { Wear wear = (Wear)this.m_item; AttributeCurve armourCurve = wear.armour; return(armourCurve.curve.Evaluate(level)); }
public void Initialize(Wear wear) { this.m_item = wear; }