Plugin link:
trying to use the timed attack function tas power from sumrandomdude along with my own custom formula
With (a.atk * 4 - b.def * 2) * ($gameTemp.tas_power) or any very basic formula like this it works
however if we go into more complex formulas such as the one i realllllly want to work with this, it doesnt work no matter how i incorporate it
if (a.hpRate() <= 0.35) { a.setHp(a.mhp); a.atk*4-b.def*2 + 200; } else { a.atk*4 - b.def*2; }
So basically the mini game will pop up but either ill deal 0 damage or it will only use my first formula and the whole idea of trying to hit the center for more damage is gone. Any suggestions on how to make this work? I'm sure others that have their own custom formulas will want to know this as well.
trying to use the timed attack function tas power from sumrandomdude along with my own custom formula
With (a.atk * 4 - b.def * 2) * ($gameTemp.tas_power) or any very basic formula like this it works
however if we go into more complex formulas such as the one i realllllly want to work with this, it doesnt work no matter how i incorporate it
if (a.hpRate() <= 0.35) { a.setHp(a.mhp); a.atk*4-b.def*2 + 200; } else { a.atk*4 - b.def*2; }
So basically the mini game will pop up but either ill deal 0 damage or it will only use my first formula and the whole idea of trying to hit the center for more damage is gone. Any suggestions on how to make this work? I'm sure others that have their own custom formulas will want to know this as well.
Last edited by a moderator:

