Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
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://github.com/triacontane/RPGMakerMV/tree/mz_master/HitAndEvasionExtend.js
Download Page : https://raw.githubusercontent.com/munokura/triacontane-MZ-plugins/refs/heads/main/HitAndEvasionExtend.js
File name : HitAndEvasionExtend.js
Help of plugin :
@target MZ @url https://github.com/triacontane/RPGMakerMV/tree/mz_master/HitAndEvasionExtend.js @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-MZ-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 ・Magic Hit Skill Success Rate ・Physical Evasion Target Evasion Rate ・Magic Evasion Target Magic Evasion Rate This plugin requires the base plugin ”PluginCommonBase.js.” ”PluginCommonBase.js” is located in the following folder under the RPG Maker MZ installation folder: dlc/BasicResources/plugins/official Terms of Use: You may modify and redistribute this plugin without permission, 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 @param physicalFailureMessageType @text Physical failure message type @desc Message type when physical attack fails (miss or action failure) @type select @default miss @option Miss @value miss @option failure of action @value failure @param magicalFailureMessageType @text Spell failure message type @desc Message type when a magic attack fails (miss or action failure) @type select @default failure @option Miss @value miss @option failure of action @value failure