Skill repeats according to level [Help]

Is there any way of making the Invocation repeats, increase according to the character's Level ? 

I mean when the player is level 5 this skill repeats 1 time,

at level 11 it repeats 2 times,

at level 32 it repeats 3 times etc...

If I can do this by scripting (and not just eventing), do you have any idea from where I should start my script? 

Original thread: https://forums.rpgmakerweb.com/threads/skill-repeats-according-to-level-help.40480/