Is it possible to add skill mp cost to damage formula? I've tried using many Yanfly plugins commands, but I don't understand much script codes so I've probably messed up somewhere... ^^"
What I'm trying to do is something like this, where 'X' will be the skill mp cost.
[ ( X + a.atk*4 + a.tp ) * ( 1 + (a.mp+X)/250 ) * ( 1 - b.def/500 ) ]
I've found out the command 'a.skillMpCost(X)' returns the MP cost of skill, but I just can't make it work in the damage formula. Does anyone knows how to make it work? Thanks in advance! =D
What I'm trying to do is something like this, where 'X' will be the skill mp cost.
[ ( X + a.atk*4 + a.tp ) * ( 1 + (a.mp+X)/250 ) * ( 1 - b.def/500 ) ]
I've found out the command 'a.skillMpCost(X)' returns the MP cost of skill, but I just can't make it work in the damage formula. Does anyone knows how to make it work? Thanks in advance! =D
It is not the skill Id that should be there, but the skill itself. Try 'a.skillMpCost($dataSkills[X])'
