void Update() { damageFinal = damage + rage * 0.5f; if (rage > 0) { timerRage += Time.deltaTime; if (timerRage > 5) { rage = 0; timerRage = 0; } } if (exp > 100 * (1 + level * 0.5)) { level++; _levelUp.activar(true); exp = exp - (100 * (1 + level * 0.5f)); stat++; } if (stat > 0) { stats.text = "Points:" + stat; levelUpTxt.enabled = true; } else { stats.text = ""; levelUpTxt.enabled = false; } levelsT.text = "Lvl: " + level; }