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

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

FTKR Ex Guard Effect - FTKR_ExGuardEffect.js

Plugin desc : v1.0.2 Plugin that expands the effectiveness of defense

License : MIT License

Author : Futokoro

Desc page : https://github.com/munokura/futokoro-MV-plugins

Download Page : https://raw.githubusercontent.com/munokura/futokoro-MV-plugins/refs/heads/master/FTKR_ExGuardEffect.js

File name : FTKR_ExGuardEffect.js

Help of plugin :

@plugindesc v1.0.2 Plugin that expands the effectiveness of defense
@author Futokoro
@url https://github.com/munokura/futokoro-MV-plugins
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/futokoro-MV-plugins ).
Original plugin by Futokoro.
Please check the URL below for the latest version of the plugin.
URL https://github.com/futokoro/RPGMaker
-----
-----------------------------------------------------------------------------
Overview
-----------------------------------------------------------------------------
With this plugin installed, a defense check is performed when taking damage.
If the check is successful, you will be able to defend even without using the defense command.

<Guard Check>
The defense check uses a defense rate dedicated to this plugin.
*This is separate from the defense damage rate.

This defense rate can be set by adding the following tag to the Note field of an actor, class, equipment, state, or enemy.

<EGF_GUARD_RATE: x>
x : Sets the defense rate value. 0 = 0%, 100 = 100%.
This can be entered in script format.

The final defense rate is the sum of the defense rates of all the character's traits.

<If the Check is Successful>
If the defense check is successful, the motion when taking damage
will change to a defense motion. (*1)
In addition, the damage sound effects and battle log message (*2) can be configured using plugin parameters.

(*1)
In this state, damage motions are not displayed during defense.
To return to the original damage motions, change the setting of the plugin parameter
Disable Damage Motion.

(*2)
Battle log messages will not be displayed if the plugin parameter is left blank.
This message will also be displayed when a defense command is executed.

<Damage Amount During Guard>
The amount of damage received during defense is calculated using the following formula.
This calculation is the same when a defense command is executed.

Damage Amount = Damage Amount Before Guard ÷ (Damage Reduction Value × Traits's Guard Damage Rate)

Damage Reduction Value: The value set in the plugin parameter Guard Effect Value

----------------------------------------------------------------------------
Setup Method
-----------------------------------------------------------------------------
1. Add this plugin to the "Plugin Manager."

----------------------------------------------------------------------------
License for this Plugin
----------------------------------------------------------------------------
This plugin is released under the MIT License.

Copyright (c) 2020 Futokoro
http://opensource.org/licenses/mit-license.php

Plugin Publisher
https://github.com/futokoro/RPGMaker/blob/master/README.md

-----------------------------------------------------------------------------
Change History
-----------------------------------------------------------------------------

v1.0.2 - 2020/09/08: Bug Fixes
1. Fixed an issue where defense was being performed even when HP was recovered.

v1.0.1 - 2020/02/11: Bug Fixes
1. Fixed the default value of the plugin parameter Disable Damage Motion.
2. Fixed an issue where the defense rate setting was calculated twice as high.
3. Avoided a conflict with FTKR_ExSvMotion.

v1.0.0 - 2018/04/15: First version created

-----------------------------------------------------------------------------

@param Guard Effect Value
@desc Sets the damage reduction value when defense is successful.
@default 2
@type number
@min 1
@decimals 2

@param Disable Damage Motion
@desc If the defense is successful, the damage animation will not be performed.
@default true
@type boolean
@on Do not run
@off Execute

@param Actor Guard Text
@desc Sets the text displayed in the battle log when an actor successfully defends.
@default %1は攻撃を防御した!

@param Actor Guard Damage SE
@desc Specifies the damage sound effect when an actor's defense is successful.
@default {"name":"Damage5","volume":"90","pitch":"100","pan":"0"}
@type struct<sound>

@param Enemy Guard Text
@desc Sets the text displayed in the battle log when an enemy successfully defends.
@default %1に攻撃を防御された!

@param Enemy Guard Damage SE
@desc Specifies the damage sound effect when an enemy's defense is successful.
@default {"name":"Damage4","volume":"90","pitch":"100","pan":"0"}
@type struct<sound>

@param TRAIT_GUARD_RATE
@desc Do not change this unless it causes a conflict with another plugin.
@default 101
@type number
@min 0

スポンサードリンク

-MV plugins

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