I'm using the steal move from the Octopath Demo by Olivia and there's this following line in a Before Eval...
var rate = [0.05, 0.33, 0.67, 1.0][user.bp] + 1 - target.hpRate();
I was wondering how do I change the success rate to be based on the enemy's TP instead of BP(Boost Points)... I tried changing user.bp to target.tp but that was basically making it guranteed if the user had no tp somehow... I basically want it where, the more tp the enemy has, the higher the chance of sucess. if anyone can point me in the right direction, I'd be thankful... have a great day everyone.
var rate = [0.05, 0.33, 0.67, 1.0][user.bp] + 1 - target.hpRate();
I was wondering how do I change the success rate to be based on the enemy's TP instead of BP(Boost Points)... I tried changing user.bp to target.tp but that was basically making it guranteed if the user had no tp somehow... I basically want it where, the more tp the enemy has, the higher the chance of sucess. if anyone can point me in the right direction, I'd be thankful... have a great day everyone.