YEP.120 – Repel Lure Encounters – RPG Maker MV
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.
在MV里面,你可以选择随机遇敌或者完全不遇敌。但是如果你想制作某个系统在一定步数内可以抵制遇敌或者提高遇敌概率,这是很难得。这个插件允许你来自定义遇敌概率
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.
在这个插件参数里面,抵御变量和遇敌变量参数是绑定的。当这些变量在游戏内调整后,他们的效果也会即时调整。当变量值低于0时,他们将会自动调整为1。
—
For example, to make a Repel effect work from an item:
- Set the Repel Variable in the plugin parameter to variable 50.
- Create an item in the database.
- Have the item run a common event.
- 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.
例如,我们制作一个抵御遇敌的道具
- 在插件中设置抵御遇敌变量为50
- 在数据库中建立一个道具
- 让这个道具执行公共事件
- 公共事件的效果为调整变量从50变到100
现在,这个玩家将会在100步以内不会遇到敌人
—
To make a Lure effect work from an item:
- Set the Lure Variable in the plugin parameter to variable 60.
- Create an item in the database.
- Have the item run a common event.
- Have this common event adjust variable 60 to a value of 100.
- 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.
制作一个增加遇敌概率的道具
- 设置插件参数里面的遇敌变量为60
- 在数据库中建立一个道具
- 让这个道具执行公共事件
- 公共事件的效果为调整变量从60变到100
- 你还可以使用插件命令来调整遇敌概率
Plugin Commands
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.
设置遇敌概率为x,这里x可以使用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.
设置遇敌基础值为x,这里x可以使用JavaScript语句