public void AddPoint() { if (Points < 1) { if (myParent.CheckTotalPoints() + 1 <= myParent.PointsCap) { if (Unlocked) { if (Points + 1 <= MaxPoints) { Points++; myParent.CheckTalents(); } } } } else { if ((myParent.CheckTotalPoints() >= 13) && (myParent.CheckTotalPoints() + 1 <= myParent.PointsCap)) { if (Points + 1 <= MaxPoints) { Points++; myParent.CheckTalents(); } } } }