Skills weakening when repeated

Hey there! 
I've been busy balancing Astralon a lot, and figured out a way that makes using different skills more rewarding. Simply putting a penalty on doing the opposite.

I don't know if it's hard or easy to script, but basically, what I'm trying to achieve is, that if a skill is used more often than once in a row, it will start racking up a damage penalty of let's say 10%, down to 50% at best. This should also apply to enemies, if possible. I thought about many ways to do this via formulas, variables, switches and what not, but I did not reach a satisfying conclusion that doesn't require me to set up every single skill with this.

If it's possible, an option to disable this penalty on certain skills (the default "attack" for example) via notetags would be amazing.

Thanks for reading through this, I hope someone can help me ^-^

Have a wonderful day!~
Here you go: https://grimoirecastle.wordpress.com/rgss3-scripts/battle-scripts/skill-decay/
I am terribly sorry. I was so sure that I checked everything. 

Thank you very much, have a wonderful day! 

Original thread: https://forums.rpgmakerweb.com/threads/skills-weakening-when-repeated.42969/