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

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

MZ plugins

Float Variables - FloatVariables.js

Plugin desc : FloatVariablesPlugin

License : MIT License

Author : triacontane

Desc page : https://github.com/triacontane/RPGMakerMV/tree/mz_master/FloatVariables.js

Download Page : https://raw.githubusercontent.com/triacontane/RPGMakerMV/refs/heads/mz_master/FloatVariables.js

File name : FloatVariables.js

Help of plugin :

* @plugindesc FloatVariablesPlugin
 * @target MZ
 * @url https://github.com/triacontane/RPGMakerMV/tree/mz_master/FloatVariables.js
 * @base PluginCommonBase
 * @author triacontane
 *
 * @param FloatVariableStart
 * @desc The starting position of a variable to perform a decimal operation.
 * @default 0
 * @type variable
 *
 * @param FloatVariableEnd
 * @desc The end position of a variable to perform a decimal operation.
 * @default 0
 * @type variable
 *
 * @help FloatVariables.js
 *
 * Enables fractional operation on the specified range of variables.
 *
 * In the case of normal (integer operation)
 * 3 / 2 = 1
 *
 * In the case of fractional computation
 * 3 / 2 = 1.5
 *
 * If you use a variable with a decimal assigned to it as the operand of an event command, you can use
 * It may cause unexpected problems when used.
 * (e.g. adding 0.5 to HP)

スポンサードリンク

-MZ plugins

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