Overlimit system

Overlimit System v1.0
Author: Koster
Introduction
Hi, this is a simple over-limit system.


This is how it works: Every time a battler is hit, he will increase his 'olp' (over-limit points), when they get to their maximum value, the state of the battler will change to the one specified in the plugin parameters, then the olp will reset.
Trough 'Traits' you can modify the over-limit state to do a lot of things: you can increase the character status, enable skill types, etc. it is up to you.

How to Use
Just add the plugin, In plugin parameters you can customize:


* The over-limit state ID.


* The ID of the animation that will play when the battler gets the state.


* The initial value of the olp.


* The max value of the olp.


* A formula to calculate how many points will the battler receive per hit. It can be fixed, or a function of the battler parameters.

Script
you can get it here View attachment PKT_Limit.js 


Compatibility:


This should be compatible with most plugins.


Feel free to use this in non-commercial and commercial games.


Credit and Thanks- koster- Thanks to @SumRndmDde for his tutorials.
quick question... I plan to use this, and I was actually curious, what's the default formulas math? I'm not sure what it is and I haven't gotten it to activate yet, so I was curious what exactly is being plugged in number wise
It takes the maximum between 5 and the 50x the fraction of damage recieved, so if the damage is 10% of your max.hp or less, you gain 5 points, if the damage is 20% of your max.hp you get 10 points and so on. The minimum  is there, so the enemies can also get the state while they are still alive, if you hit them enough times. Of course you can change it to fit your needs.
It takes the maximum between 5 and the 50x the fraction of damage recieved, so if the damage is 10% of your max.hp or less, you gain 5 points, if the damage is 20% of your max.hp you get 10 points and so on. The minimum  is there, so the enemies can also get the state while they are still alive, if you hit them enough times. Of course you can change it to fit your needs.

ahh ok, thanks for that explanation. I know why my characters weren't getting to the state now lol. they weren't taking enough damage... so i'll work on balancing the Overlimit and my enemies. But yeah thanks for this plugin. I can pull of something really vital to my game now, especially with this and the combo of state traits.
Man...wish this plugin got updated D:

Original thread: https://forums.rpgmakerweb.com/threads/overlimit-system.62263/