Hello!
I need a plugin or a script that would allow me to have a certain state or states raise the probability of the player escaping when the state is applied to an enemy. And possibly a lower chance of escape if it is applied to an actor.
The number of enemies who have this state applied would heighten the chances of escape IF more enemies = less chance of escape. (I put this here because I'm honestly not completely sure how MV works in those terms, if anyone could enlighten me with how it works I'd be grateful)
Any help would be much appreciated! 👋
by default escape rates are based on party total agility vs enemy troop total agility. so simple haste and slow spells can effect escape rates
Yep, however agility also effects turn order, and I don't want that affected. I was hoping to have a way to just effect the escape rate and not agility.
then you'll need a plugin to completely rewrite the escape functions and how the escape chance is calculated
I realized that since my enemy has the 'cannot move' restriction when in this state, it's not going to attack anyways. (so basically what I said earlier about worrying that the lower agility would affect the enemy's turn order is completely unimportant now XD)
So I decided to go with lowering it's agility when afflicted by the state.
I tried going to 'Traits' > 'Param' > 'Parameter' and having 'Agility * 0', however this doesn't appear to work properly, so I'm guessing I understood how param traits work incorrectly.
I made the enemy have 999 agility(just to make sure default escaping wasn't gonna work) and my characters in debug class, giving them 32 agility. I was thinking having the state apply the 'Agility * 0' trait would make the enemy's agility go down to 1 and allow my characters to have a much higher chance of escape but it doesn't appear to work.
Can anyone help me figure this out? 😅
0.5 * $gameParty.agility() / $gameTroop.agility()
and each failed attempt adds 0.1 onto that 0.5 in the formula
so by that math ur 1st escape attempt is only 16% chance to escape
and a 19% chance on ur 2nd attempt
you would need party agility to add up to 200 (50AGI x4) in order to have 100% escape rate after applying that state to the enemy (if theres only 1 enemy) and 400 total agility if there is 2 enemies that both have that state on them