Block Chance Plugin [UPDATED Version 1.2]
Oggy_Block.jsAuthor: Oggy
Rpg Maker MZ
Plugin Version 1.2
The aim of this plugin was to add block chance to an RPG Maker MZ project. I figured others might want to use it or edit it to their needs.
Information:
- This plugin uses rates for block chance and the damage reduction.
- It currently only works for Physical attacks.
- It separates miss and evade so that they have separate messages.
- It will give a message and popup "Block" when blocking and popup "Evade" when evading. Miss will still pop up "Miss".
How to Use:
1. Install the plugin into your plugin manager.
2. Make 2 rates in the "Types" section of the database in MZ. One for chance and one for damage reduction.
3. Configure the plugin. Put the ID of the rate you made for block chance and damage reduction into the plugin parameters.
4. Then just add the block chance rate and Damage Reduction to whatever you want.
5. Block Chance rates go from 101 - 200% (101 = 1% and 200 = 100%)
6. Block Damage Reduction is done 2 ways. First, base value between 0-100%. Second, mod value numbers 101%+.
This plugin has variable uses:
If you want to use it as a second avoidance, no problem. Just add Block Chance to actor, class, state, or armor type, but do not add Block Damage Reduction and you will have a chance to take no damage in addition to evade.
If you want to use it on just armor types that's possible too. Using one armor type, for instance shields, you would add Block Chance to the shield and add the Base Damage Reduction to the shield. (1-99%)
If you want to use multiple Block Damage Reductions you can. Your first Damage Reduction must be the base (1-99%). Then any additional reductions will be multipliers (101%+).
Example: Actor/Class/Armor type has a base Damage Reduction of 10% and an accessory has boosts the amount of reduction by double you would add 200% Block Damage Reduction to the accessory.
Compatibility:
I have no clue on the compatibility of this plugin with other plugins, other than it currently does not work in VS Battlecore.
Terms:
Free to use or edit in commercial or non-commercial projects with credit to Oggy.
本贴来自国际rpgmaker官方论坛作者:Oggy处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/block-chance-plugin-updated-version-1-2.164413/
页:
[1]