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))); }
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))); }
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))); }