This is (I think) a complete script that creates new possibilities to pay for our skills. Would you like to pay for your skill with HP? Ok! and with a state? Yes, now you can!
For now, this script can maje the sckill cost: PM, TP, HP (and percentage of current and masimum), states (currently affected or affected after use), restricts the skill for states (if the actor is affecting with a state, he can0t use the skill), items, money and turns (before and after).
If I find some bug I will update it to correct it.
This is a git link of the logical functionality
In addition, I made a style script for the battle.
This is a git link of a battle style
I hope you like it and any comments or reviews always will be welcome.
Cheer up!
Edit:
Add video demo and upgrade a new little version:
[embedded media]
Edit:
Updated to v1.2. Now is possible pay with a percentage of the money.