Gain Ability Point every Level Up?

Hello.

I got a script that allows the player to increase their stats with points. To acquire these points, i must make a script call setting the amount of points the player is receiving. However, i'd like it to work so that at every level the player gets a point. For that, i'm trying run a common event as a parallel process that checks the player level and grants him a point. Something like this:

1592440251026.png

The way it's presented here generates an infinite amount of points, this is just to illustrate the point.

I do not know to make it properly work. I know of a very tiresome workaround that would involve creating a parallel process-common event for every single level that would look like this:

1592440713721.png


I'd really appreciate any ideas! 😀
I got a script that allows the player to increase their stats with points.
Provide the link to the script here.
Provide the link to the script here.
Done.
Code:
class Game_Actor
  alias addpoint_on_lvlup level_up
  def level_up
    addpoint_on_lvlup
    self.points += 1
  end
end
Here, a snippet to automate your needs.
Code:
class Game_Actor
  alias addpoint_on_lvlup level_up
  def level_up
    addpoint_on_lvlup
    self.points += 1
  end
end
Here, a snippet to automate your needs.
You're a living legend, thank you so much!

Original thread: https://forums.rpgmakerweb.com/threads/gain-ability-point-every-level-up.123018/