Beispiel #1
0
 public float GetGrowResultValue(float base_value, GrowRateFloat rate_data, bool is_element = false)
 {
     return(MonoBehaviourSingleton <SmithManager> .I.GetGrowResultValue(base_value, rate_data, is_element));
 }
Beispiel #2
0
    public float GetGrowResultValue(float base_value, GrowRateFloat rate_data, bool is_element = false)
    {
        float num = rate_data.add;

        return(base_value * (float)(int)rate_data.rate * 0.01f + num);
    }