Repel & Lure Encounters (YEP)
Jump to navigation
Jump to search
Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.
Download
System
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.
Yanfly Engine Plugins
This plugin is a part of the Yanfly Engine Plugins library.
Introduction
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.
Instructions
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.
Plugin Commands
Plugin Commands are event commands that are used to call upon functions added by a plugin that aren't inherently a part of RPG Maker MV.
Here is a list of Plugin Command(s) that you may use:
For those who would like to adjust the lure rates and lure flat values mid-game, you can use the following plugin commands. Plugin Commands: SetLureRate x - Sets the lure rate for encounters to x when the Lure Variable is active. You can use JavaScript code for x if you are familiar with JavaScript. SetLureFlat x - Sets the flat value for encounters to x when the Lure Variable is active. You can use JavaScript code for x if you are familiar with JavaScript.
Changelog
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!