I'm new to RPG Maker in general, but I was wondering how possible it is to have a script or event that lets players avoid random encounters hosting troops weaker than the party, should they use a certain item or spell?
I've looked around and found similar scripts and events that either alter the general encounter rate, or disable them entirely, but it's not exactly what I want. I'm looking for something that only disables encounters lower level than the party, but keeps the ones that are higher than that of the party.
I'd like to see something where you assign a level to a region ID, then if you travel through the region several levels higher than that which was assigned, you don't get into random battles.
Another option is have it compare the party member with the lowest attack stat in the party to that of the enemy with the highest defense stat in the enemy troop, and skip the battle entirely, possibly reset the steps taken between battles as well.
There are similar effects in Dragon Quest and Pokemon, with Holy Protection/Holy Water, and Repels, respectively. They either compare the party's level to that of the enemies, or the zone, then block only those encounters until the player takes over 100 steps before it wears off.
I've looked around and found similar scripts and events that either alter the general encounter rate, or disable them entirely, but it's not exactly what I want. I'm looking for something that only disables encounters lower level than the party, but keeps the ones that are higher than that of the party.
I'd like to see something where you assign a level to a region ID, then if you travel through the region several levels higher than that which was assigned, you don't get into random battles.
Another option is have it compare the party member with the lowest attack stat in the party to that of the enemy with the highest defense stat in the enemy troop, and skip the battle entirely, possibly reset the steps taken between battles as well.
There are similar effects in Dragon Quest and Pokemon, with Holy Protection/Holy Water, and Repels, respectively. They either compare the party's level to that of the enemies, or the zone, then block only those encounters until the player takes over 100 steps before it wears off.