In Pokemon, there's this move called "Mean Look". It stops your opponent from being able to run away after it's used on them,
I'm interested in making a "Mean Look" like effect in RPGMaker, to make certain encounters inescapable (or at least nearly) at random. I first thought I could solve this issue by using HIME's enemy reinforcements script to add a very very fast invisible and untargetable enemy on turn 0 with a common event, but experimentation has revealed that this doesn't seem to affect your escape chance at all.
So I'm wondering, does anyone know a way or script that lets you do this? One of Yanfly's scripts lets me modify the basic formula that applies to every fight, which is interesting to me because it implies that I should be able to alter the escape chance in real time since RPGMaker keeps track of how many times you've tried to run away to calculate it each turn. Theoretically, it should be possible to just modify the run chance with a script call, right? But I'm not really sure what I would need to write to do so...
So I'm curious as to how one could alter the escape chance in the middle of a battle, and am either looking for a script that specifically supports it or knowledge of what sort of variable I'd need to edit to get this to work with my own script call. I'm currently using a few of the Yanfly battle scripts and so forth, but I don't think they're really relevant to this question.
Thank you!
I'm interested in making a "Mean Look" like effect in RPGMaker, to make certain encounters inescapable (or at least nearly) at random. I first thought I could solve this issue by using HIME's enemy reinforcements script to add a very very fast invisible and untargetable enemy on turn 0 with a common event, but experimentation has revealed that this doesn't seem to affect your escape chance at all.
So I'm wondering, does anyone know a way or script that lets you do this? One of Yanfly's scripts lets me modify the basic formula that applies to every fight, which is interesting to me because it implies that I should be able to alter the escape chance in real time since RPGMaker keeps track of how many times you've tried to run away to calculate it each turn. Theoretically, it should be possible to just modify the run chance with a script call, right? But I'm not really sure what I would need to write to do so...
So I'm curious as to how one could alter the escape chance in the middle of a battle, and am either looking for a script that specifically supports it or knowledge of what sort of variable I'd need to edit to get this to work with my own script call. I'm currently using a few of the Yanfly battle scripts and so forth, but I don't think they're really relevant to this question.
Thank you!