Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
NUUN Slip Damage EX - NUUN_SlipDamageEX.js
Plugin desc : Slip Damage Ex
License : MIT License
Author : NUUN
Website : https://github.com/nuun888/MZ/blob/master/NUUN_SlipDamageEX.js
Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_SlipDamageEX.js
File name : NUUN_SlipDamageEX.js
Help of plugin :
* @target MZ
* @plugindesc Slip Damage Ex
* @author NUUN
* @version 1.2.0
* @base NUUN_Base
* @base NUUN_StateTurnCount
* @orderAfter NUUN_Base
* @orderAfter NUUN_StateTurnCount
*
* @help
* Expands slip damage functionality.
* You can set the sound effect or flash color when slip damage occurs while moving, or disable it.
* You can define your own formula for slip damage.
* The expression must result in a percentage value.
*
* State Notes
* <SlipDamageHP:[eval]> Sets the HP slip damage.
* <SlipDamageMP:[eval]> Sets the MP slip damage.
* <SlipDamageTP:[eval]> Sets the TP slip damage.
* <SlipDamageFixedHP:[eval]> Sets the HP slip damage to a fixed value.
* <SlipDamageFixedMP:[eval]> Sets the MP slip damage to a fixed value.
* <SlipDamageFixedTP:[eval]> Sets the TP slip damage to a fixed value.
* [eval]:Evaluation formula
* b:Battler game data
* db:Battler's Database Data
* st:State Turn
* Example
* <SlipDamageHP:-10 * st> Each turn, you will receive 10% additional damage.
* <SlipDamageMP:10 * st> It recovers at an increased rate of 10% each turn.
* <SlipDamageHP:Math.pow(3, st) * -1> Slip damage doubles by 3% every turn.
* <SlipDamageFixedHP:-10> You will take 10 slip damage each turn.
*
* Terms of Use
* This plugin is distributed under the MIT license.
*
* Log
* 6/28/2024 Ver.1.2.0
* Added a feature to play sound effects when slip damage occurs while moving.
* Added a feature to specify the color of the flash when slip damage occurs while moving, and to disable playing the flash.
* 2/19/2022 Ver.1.1.1
* Fixed an issue where an error occurred while moving in Ver.1.0.1 and later.
* 1/29/2022 Ver.1.1.0
* Added the ability to set a fixed value for slip damage.
* 1/16/2022 Ver.1.0.1
* Processing of elapsed turns has been made into a separate plugin.
* 1/11/2022 Ver.1.0.0
* First edition.
*
* @param SlipSeSetting
* @text SE Settings
* @default ------------------------------
*
* @param SlipDamageSe
* @text Slip damage sound effect when moving
* @desc Sets the sound effects for slip damage when moving.
* @type struct<SlipSeSetting>
* @default
* @parent SlipSeSetting
*
* @param FlashSetting
* @text Moving Flash Settings
* @default ------------------------------
*
* @param SlipDamageFlashColor
* @text Flash Color
* @desc The color of the flash when slip damage occurs during movement. No flash by setting the number of frames to 0.
* @type struct<FlashColorSetting>
* @default {"red":"255","green":"0","blue":"0","gray":"128","flame":"8"}
* @parent FlashSetting
*