An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Minimum encount - Minimum_encount.js

Plugin desc : Sets the minimum initial value for the minimum number of steps for random encounters.

License : MIT License

Author : yuwaka

Website : https://www.rpgmakerweb.com/products/rpg-maker-mz

Download Page :  C:Program Files (x86)SteamsteamappscommonRPG Maker MZdlcBasicResourcespluginslaunch Minimum_encount.js

File name : Minimum_encount.js

Help of plugin :

* @target MZ
 * @plugindesc Sets the minimum initial value for the minimum number of steps for random encounters.
 * @author yuwaka
 *
 * @param minienm
 * @desc Variable to read the minimum number of steps
 * @type variable
 * @default 1
 *
 * @param formula
 * @desc Encounters rate formula (The default is 1)
 * 1:Steps + Steps + Minimum 2:Number of steps + minimum Otherwise see help
 * @default 1
 *
 * @help There are no plugin commands in this plugin.
 *
 * You can set the formula for calculating the minimum number of steps and the rate of random encounters.
 *
 * If the content of the specified variable is 0, it may be encountered immediately after entering the map.
 * You can change the minimum number of steps at any time, but it will remain at the previous step count until the next encounter,
 * so if you want to reflect the number immediately, please move to a new location after the change.
 *
 * The number of steps is chosen at random, including zero, which is less than or equal to the number of "enemy appearances" specified in the map.
 * 
 * If you put 3 in the formula (formula), 
 * it encounters a fixed value for the minimum number of steps specified, omitting the random element.
 *
 * If you put 4-6 in the formula (formula), 
 * you can use the number as the minimum number of steps instead of the content of the variable for the minimum number of steps.
 * Use it if you do not want to change every map and do not want to consume variables.
 * 4:Steps + Steps + Minimum 5:Number of steps + minimum 6:Fixed Value Steps
 * 
 * Special thanks kuro(http://fanblogs.jp/tabirpglab/)
 *
 * This is a plugin for both RPG Maker MV and MZ.
 * No need to report use, no credit is required, modification is allowed, and commercial use is allowed.
 * I will not be responsible for any problems that may occur. Please understand.

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.