コード例 #1
0
    public float GetDuration(int m_index, int m_level)
    {
        TableConsume tc = GetData(m_index);

        if (tc == null)
        {
            return(0f);
        }

        return(tc.Duration + (tc.Duration_Inc * (m_level - 1)));
    }
コード例 #2
0
    public int GetMaxHpUp(int m_index, int m_level)
    {
        TableConsume tc = GetData(m_index);

        if (tc == null)
        {
            return(0);
        }

        return(tc.MaxHpUp + (tc.MaxHpUp_Inc * (m_level - 1)));
    }
コード例 #3
0
    public float GetAtkSpeedUp(int m_index, int m_level)
    {
        TableConsume tc = GetData(m_index);

        if (tc == null)
        {
            return(0);
        }

        return(tc.AtkSpeedUp + (tc.AtkSpeedUp_Inc * (m_level - 1)));
    }