Hello again to all of you :D
I need a little help here
b.isStateAffected(18) ? ((1 - (b.mp / b.mmp)) * 200) + 100 + a.mat * 4 - b.def * 3; b.gainMp(-1 * b.mmp) : ((1 - (b.mp / b.mmp)) * 200) + 100 + a.mat * 4 - b.def * 3
First and foremost the skill does more damage the less Mp the enemy has, that is easy and already taken care of, however I need a little help, if the enemy is affected in this case by state 18 the enemy should also lose all of their Mp, it isn't working however and it returns a aneourmous 0, does anyone know why?
thank you all for your help.in advance