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

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

MV plugins

Hitand Eva Formula - HitandEvaFormula.js

Plugin desc : ver1.01/Allows you to use calculation formulas for hits and evasions.

License : MIT License

Author : Yana

Website : https://w.atwiki.jp/pokotan/pages/3.html

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

Download Page : https://raw.githubusercontent.com/munokura/Yana-MV-plugins/refs/heads/master/Item_Skill/HitandEvaFormula.js

File name : HitandEvaFormula.js

Help of plugin :

@plugindesc ver1.01/Allows you to use calculation formulas for hits and evasions.
@author Yana
@url https://github.com/munokura/Yana-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/Yana-MV-plugins ).
Original plugin by Yana.
-----
How to Use
--------------------------------------------------------------------
Writing
<HitFormula:xxx>
in the memo for an item or skill will set the hit formula to xxx.
In addition to the a, b, and v options available in the standard damage formula, xxx can also use hit (the actor's hit value) and eva (the target's evasion value - magic evasion value if using magic).

Writing
<EvaFormula:xxx>
in the memo for an item or skill will set the evasion formula to xxx.
In addition to the a, b, and v options available in the standard damage formula, xxx can also use hit (the actor's hit value) and eva (the target's evasion value (magic evasion value if using magic)).

For items and skills that do not have a specific formula set, the formula used in the parameters will be used.

As of version 1.01, a multiple-threshold determination mechanism has been added.
Entering either
<JudgeCount:○>
in the skill or item memo will cause the system to make that many judgments during hit detection.

If any of the hits are successful, it's a hit. If all hits are avoided, it's an evasion.

You can access the hit count with b.hc().

-----------------------------------------------------
Terms of Use
------------------------------------------------------
This plugin is released under the MIT License.
http://opensource.org/licenses/mit-license.php
------------------------------------------------------
Update History:
ver1.01:
Terms of Use changed to the MIT License.
Added a mechanism for counting the number of judgments.
ver1.00:
Released

@param HitFormula
@desc This is the basic formula for calculating hits.
@default hit - eva

@param EvaFormula
@desc This is the basic formula for avoidance calculation.
@default 0

@param HitCountMessage
@desc This is a message about the number of hits of the attack. Change _cnt to the number of hits and _name to the name.
@default _cnt hits!

スポンサードリンク

-MV plugins

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