RPGツクールMVのヒット精度の性質を変更するプラグイン – YEP_HitAccuracy.js

タイトル
This plugin alters the nature of hit accuracy forRPG Maker MV by giving control to its formula.
作者名
ヘルプ
============================================================================
Introduction
============================================================================

By default, RPG Maker MV's action accuracy formula is unintuitive. For what
it matters, the accuracy of the skill is determined first, then the evasion
of the target is determined second regardless of the accuracy of the first
check. This means that even if an attacker has 1000% HIT accuracy, the skill
can still be evaded by the enemy's 5% EVA stat. So instead, this plugin will
provide control over an action's accuracy formula and evasion formula. By
this plugin's default settings, accuracy will now be calculated where the
attacker's HIT and the enemy's EVA are set against one another for a more
intuitive accuracy formula.

============================================================================
Instructions
============================================================================

This plugin can be plug-and-play. But, if you wish to modify the accuracy
formulas to your liking, adjust the plugin parameters that alter each of the
individual aspects.

skillHitRate - This is the inherent success rate of the skill/item.

userHitRate - This is the accuracy rate of the user. If it's a physical
action, by default, HIT is used. If it's a magical action, by default, there
will be a 100% modifier from it, meaning it doesn't alter the success rate.

targetEvadeRate - This is the evasion rate of the target. If it's a physical
action, the EVA stat is used by default. If it's a magical action, the MEV
stat is used by default.

============================================================================
Changelog
============================================================================

Version 1.01:
- Made a correction to the calculation of the skillhitrate so that it's a
proper float value instead.

Version 1.00:
- Finished Plugin!
パラメータ
param ---Formula---
default
param Accuracy Formula
desc The formula used to determine the skill's accuracy.
Variables: skillHitRate, userHitRate, targetEvadeRate
default skillHitRate(userHitRate - targetEvadeRate)

param Evade Formula
desc The formula used to determine if the skill is evaded.
Variables: skillHitRate, userHitRate, targetEvadeRate
default 0

param ---User Hit Rate---
default
param User Physical Hit
desc The formula used to determine the user's hit rate
for physical actions.
default user.hit

param User Magical Hit
desc The formula used to determine the user's hit rate
for magical actions.
default 1.00

param User Certain Hit
desc The formula used to determine the user's hit rate
for certain hit actions.
default 1.00

param ---Target Evade Rate---
default
param Target Physical Evade
desc The formula used to determine the target's evade rate
for physical actions.
default target.eva

param Target Magical Evade
desc The formula used to determine the target's evade rate
for magical actions.
default target.mev

param Target Certain Evade
desc The formula used to determine the target's evade rate
for certain hit actions.
default 0.00

ライセンス表記

紹介ページ https://github.com/suppayami/yami-engine-delta/blob/master/demo/js/plugins/YEP_HitAccuracy.js