Stacks for every skill cast

Hey guys


I'm trying to do a passive state for an actor where everytime the actor uses a skill, a certain state increases it's state counter by one.


It would be easy to do if it was done into a single skill, however this state should increase everytime a skill is used.


Can anyone help me with a piece of code? 


Regards


Goldschuss

Original thread: https://forums.rpgmakerweb.com/threads/stacks-for-every-skill-cast.66373/