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

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

MZ plugins

RX T Damage Reduction - RX_T_DamageReduction.js

Plugin desc : Regardless of the attribute, damage reduction can be set to various factors.

License : MIT License

Author : TYPE74RX-T

Website : https://w.atwiki.jp/type74rx-t/pages/221.html

Desc page : https://w.atwiki.jp/type74rx-t/pages/221.html

Download Page : https://raw.githubusercontent.com/munokura/RX_T-plugins/refs/heads/main/RX_T_DamageReduction.js

File name : RX_T_DamageReduction.js

Help of plugin :

* @target MV MZ
 * @plugindesc Regardless of the attribute, damage reduction can be set to various factors.
 * @author TYPE74RX-T
 * @url https://w.atwiki.jp/type74rx-t/pages/221.html
 *
 * @param SystemWord in Notes1
 * @text System word 1
 * @desc System word to fill in the notes field
 * @default DamageReduction
 *
 * @param SystemWord in Notes2
 * @text System word 2
 * @desc System word to fill in the notes field
 * @default IgnoreDamageReduction
 *
 * @param ReductRule
 * @text Damage reduction rule
 * @desc The process when the damage reduction conditions overlap
 * @type select
 * @option Multiplication
 * @value multiplication
 * @option Max
 * @value max
 * @default multiplication

 * @help Damage Reduction
 *
 * This plugin is compatible with RPG Maker MV and RPG Maker MZ.
 *
 * ◆Summary
 * Regardless of the attribute, damage reduction can be set to
 * various factors.
 * e.g., 50% or 25%.
 * This can be set for actors, enemies, states and equipment.
 * And you can also ignore these features to create skills and items
 * that do damage.
 *
 * ◆Usage
 * Fill in the notes section.
 * Example 1: If you want to reduce the damage by 60%.
 * target of Effect: actors, enemies, states, weapons and armors
 *
 * <DamageReduction:60>
 *
 * Example 2: If you want them to ignore the damage reduction
 * target of Effect: skills and items
 *
 * <IgnoreDamageReduction>
 *
 * ◆About Plugin Parameters
 * You don’t need to worry about the system word.
 * It’s just that the way you set up the notes field is different depending
 * on whether you are using the English or Japanese version.
 *
 * ★Damage reduction rule
 * Sets how damage reduction conditions are handled when they overlap.
 * On the actor’s side, it is determined using the values set for things like
 * the actor, the state it is receiving, the weapon it is equipped with, and
 * the armor it is equipped with.
 * This is referred to as Group A.
 * On the enemy’s side, it is determined using the values set for the enemy,
 * and the values set for the state it is receiving.
 * This is referred to as Group B.
 *
 * -Multiplication
 *  The percentage of damage reduction is multiplied from Group A/B by the
 *  following formula.
 *  Example: if the target has 50% damage reduction and damage reduction
 *  states 1 and 2 are 20% and 30% respectively.
 *
 *  1 * (100 - 50) / 100 * (100 - 20) / 100 * (100 - 30) / 100 * Damage
 *  *rounding down the decimal point
 *
 * -Max
 *  The prescribed amount of damage voided is the maximum amount of value in
 *  groups A/B.
 *
 * ◆License
 * This plugin is released under MIT license.
 * http://opensource.org/licenses/mit-license.php

スポンサードリンク

-MZ plugins

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