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

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

MV plugins

Hit And Evasion Extend - HitAndEvasionExtend.js

Plugin desc : Hit Avoidance Extension Plugin

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com/

Desc page : https://triacontane.blogspot.com/

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/HitAndEvasionExtend.js

File name : HitAndEvasionExtend.js

Help of plugin :

@url https://triacontane.blogspot.com/
@plugindesc Hit Avoidance Extension Plugin
@author Triacontane
@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/triacontane-MV-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----
HitAndEvasionExtend.js

Extends the hit and evasion calculation formulas.
You can specify hit and evasion calculation formulas for physical and
magical attacks via parameters.
As a general rule, the result of the formula should be between "0" and "1"
Values below "0" are treated as 0%, and values above "1" are treated as
100%.

The formula specifies a JavaScript formula, so please be careful of syntax
errors.
As with the damage formula, the user is referenced as "a" and the target
as "b"
For details, see the tooltip for the damage formula in the database.
(Example)
a.atk: User's attack power
b.agi: Target's agility
You can also reference the default hit and evasion results with "d"
You can reference the skill success rate with "r"
Game variable values can be referenced using the control character "¥v[n]"

[Reference] The default calculation formula is as follows.
If either the hit or evasion check fails, the action will fail.
- Physical Hit
Skill Success Rate * User Hit Rate

- Magical Hit
Skill Success Rate

- Physical Evasion
Target Evasion Rate

- Magical Evasion
Target Magic Evasion Rate

This plugin does not have any plugin commands.

Terms of Use:
You may modify and redistribute this plugin without permission from the
author, and there are no restrictions on its use (commercial, 18+, etc.).
This plugin is now yours.

@param formulaPhysicalHit
@text Physical hit calculation formula
@desc Set the physical hit calculation formula. If left blank, the default result will be returned.
@default r * a.hit

@param formulaMagicalHit
@text Magic hit calculation formula
@desc Set the magic hit calculation formula. If left blank, the default result will be returned.
@default r

@param formulaPhysicalEvasion
@text Physical avoidance formula
@desc Set the physical avoidance calculation formula. If left blank, the default result will be returned.
@default b.eva

@param formulaMagicalEvasion
@text Magic avoidance formula
@desc Set the magic evasion formula. If left blank, the default result will be returned.
@default b.mev

スポンサードリンク

-MV plugins

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