Good evening! I looked around (For MP as well as TP) and was suprised to find there wasn't something similar...
I've got a skill that does damage as so: (10 * a.tp).... The more Actor TP, the more damage. That side is perfect.
Now what I'm trying to achieve, is to make this skill cost whatever the current TP pool amount is for the actor.
If the actor has 55 TP, it will cost 55 TP. If they have 2 TP, it costs 2 TP.
Basically, use this skill, all the TP is spent, whatever that amount is between 1 and 100. Actor should have 0 TP afterwards.
I am using Visustella SkillStatesCore plugin, and the out-of-box notetags don't appear to offer this functionality.
I figure I can add this as a custom entry in the plugin, under "Skill Cost Types"... but... my javascript ability is sadly lacking outside of simple web stuff -
I'm positive this can be achieved via the plugin, I just dont know how to put the code together.
Can anyone help?
Perhaps there's an even simpler method I've overlooked?
I've got a skill that does damage as so: (10 * a.tp).... The more Actor TP, the more damage. That side is perfect.
Now what I'm trying to achieve, is to make this skill cost whatever the current TP pool amount is for the actor.
If the actor has 55 TP, it will cost 55 TP. If they have 2 TP, it costs 2 TP.
Basically, use this skill, all the TP is spent, whatever that amount is between 1 and 100. Actor should have 0 TP afterwards.
I am using Visustella SkillStatesCore plugin, and the out-of-box notetags don't appear to offer this functionality.
I figure I can add this as a custom entry in the plugin, under "Skill Cost Types"... but... my javascript ability is sadly lacking outside of simple web stuff -
I'm positive this can be achieved via the plugin, I just dont know how to put the code together.
Can anyone help?
Perhaps there's an even simpler method I've overlooked?