Repel & Lure Encounters (YEP)
This is a plugin created for RPG Maker MV.
For help on how to install plugins, click here.
For help on how to update plugins, click here.
Got errors with your RPG Maker MV plugin? Click here.
This plugin is a part of the Yanfly Engine Plugins library.
In RPG Maker MV, you can either choose to enable encounters or disable them completely. However, making a system that repels encounters for a certain amount of steps or increase the encounter rate for a certain amount of steps is a whole different matter. This plugin allows you to create ways to repel encounters, generate lures, and the rate at which lures are done.
In the plugin parameters, the Repel Variables and Lure Variables parameters are tied to. When the variables for those are adjusted in game, then the effects for those will also be adjusted. When the variable values are above a zero value, they will be in effect and decrease by 1 per step. --- For example, to make a Repel effect work from an item: 1. Set the Repel Variable in the plugin parameter to variable 50. 2. Create an item in the database. 3. Have the item run a common event. 4. Have this common event adjust variable 50 to a value of 100. Now, the player will be able to walk 100 steps without encountering a battle unless it is an evented battle. --- To make a Lure effect work from an item: 1. Set the Lure Variable in the plugin parameter to variable 60. 2. Create an item in the database. 3. Have the item run a common event. 4. Have this common event adjust variable 60 to a value of 100. 5. Optionally, use plugin commands to adjust the rate of the lure. Now, for 100 steps, the player will encounter battles more often than if the lure wasn't present.
Here is a list of Plugin Command(s) that you may use:
Version 1.02: - Bypass the isDevToolsOpen() error when bad code is inserted into a script call or custom Lunatic Mode code segment due to updating to MV 1.6.1. Version 1.01: - Updated for RPG Maker MV version 1.5.0. - Added new parameters: 'Repel Variables List' and 'Lure Variables List' Version 1.00: - Finished Plugin!