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 Absorbs Damage - RX_T_AbsorbsDamage.js

Plugin desc : Absorbs damage below a specified value(actors & enemies).

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_AbsorbsDamage.js

File name : RX_T_AbsorbsDamage.js

Help of plugin :

* @target MV MZ
 * @plugindesc Absorbs damage below a specified value(actors & enemies).
 * @author TYPE74RX-T
 * @url https://w.atwiki.jp/type74rx-t/pages/221.html
 *
 * @param SystemWord in Notes
 * @text System Word 1
 * @desc The system word to fill in the notes section
 * @default AbsorbsLessDamage
 *
 * @param SystemWord in Notes2
 * @text System Word 2
 * @desc The system word to fill in the notes section
 * @default AbsorbsMoreDamage
 *
 * @param SystemWord in Notes3
 * @text System word 3
 * @desc The system word to fill in the notes section
 * @default DisableDamageAbsorption
 *
 * @param absorbMsgTypeActor
 * @text AbsorbMSGType:Actor
 * @desc How the message is displayed when damage is absorbed
 * @type select
 * @option Configured in the plugin parameters
 * @value plugin
 * @option ”Actor Recovery” in the ”Terms” section of the Database
 * @value heal
 * @default plugin
 *
 * @param absorbMsgActor
 * @parent absorbMsgTypeActor
 * @text The text when absorbs
 * @desc Text to be displayed when damage is absorbed
 * %1 is replaced to battler’s name, %2 is damage numeric
 * @type string
 * @default %1 has absorbed %2 damage!
 *
 * @param absorbMsgTypeEnemy
 * @text AbsorbMSGType:Enemy
 * @desc How the message is displayed when damage is absorbed
 * @type select
 * @option Configured in the plugin parameters
 * @value plugin
 * @option ”Enemy Recovery” in the ”Terms” section of the Database
 * @value heal
 * @default plugin
 *
 * @param absorbMsgEnemy
 * @parent absorbMsgTypeEnemy
 * @text The text when absorbs
 * @desc Text to be displayed when damage is absorbed
 * %1 is replaced to battler’s name, %2 is damage numeric.
 * @type string
 * @default %1 has absorbed %2 damage!
 *
 * @param AbsorbRule
 * @text Absorption rule
 * @desc In the event of a combination of damage absorption conditions, the process
 * @type select
 * @option Total
 * @value total
 * @option Max
 * @value max
 * @option Min
 * @value min
 * @default max
 *
 * @help Absorbs damage
 * 
 * This plugin is compatible with RPG Maker MV and RPG Maker MZ.
 *
 * ◆Summary
 * You will be able to create enemies, actors, states, weapons, and armors
 * that absorb more, or less, than a certain amount of damage.
 * Skills with this effect can also be practically created, because
 * it can set to state.
 *
 * And you can also ignore these features to create skills and items
 * that do damage.
 *
 * ◆Usage
 * Fill in the notes section.
 * (target of Effect: enemies, actors, states, weapons and armors).
 *
 * For example:Absorbs damage of 50 or less.
 * <AbsorbsLessDamage:50>
 *
 * For example:Absorbs damage of 50 or more.
 * <AbsorbsMoreDamage:50>
 *
 * Settings for disabling damage absorption(skills, items)
 * <DisableDamageAbsorption>
 *
 * [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.
 *
 * ★AbsorbMSGType:Actor(or Enemy)
 * -Configured in the plugin parameters(param:plugin)
 *  The content of ”The text when absorbs” described below is applied.
 * -”Friendly Recovery” in the ”Terms” section of the Database(param:heal)
 *  Apply the content of ”Friendly Recovery” in ”Terms” under ”Database”.
 *
 * ★The text when absorbs
 * You can set the text you want to appear in the Battle Log when the
 * damage is absorbed.
 * Be sure to include ”%1” and ”%2” in the text.
 *
 * ★absorption rule
 * Sets how damage absorption 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.
 *
 * -Total
 *  The specified amount of damage absorbed is the sum of the groups A/B.
 *
 * -Max
 *  The prescribed amount of damage absorbed is the maximum amount of value in
 *  groups A/B.
 *
 * -Min
 *  The prescribed amount of damage absorbed is the minimum 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.