public void LevelUp() { level++; totalXP = nextLevelXP; SetNextLevelXP(); LevelUpStats(); strength.UpdateSubStatModifiers(); dexterity.UpdateSubStatModifiers(); intellect.UpdateSubStatModifiers(); RefreshHpAndAp(); }