~Blocking ~
For the latest updates please visit my blog. This is merely an introduction topic.
►
Introduction
This plugin introduces what I call "Block Rate" and "Block Reduction". The Block Rate determines the likeliness of blocking an incoming attack. Blocking an attack basically means negating some of the incoming damage altogether. You don't necessarily need to equip a shield to block damage. Every actor has a block rate that is (by default) based on their DEF and AGI params. Of course you can change the formula or use notetags to change the Block Rate of a specific actor.
Everytime a block occurs the "Block Reduction" comes into play. This value determines the amount of damage that will be blocked. By default, this is a flat percentage (30%) but you can also use a formula or change the Block Reduction Percentage for each actor individually.
You can use this plugin with Yanfly's Status Menu! If you want to add the Block Rate and Block Reduction to the Attributes List just use “PhyBlockRate”, “MagBlockRate”, “CerBlockRate” and “blockReduction”.
►
Notetags
► ACTORS, ENEMIES
Spoiler<Physical Block Rate: x%>
Sets this actor's or enemy's physical block rate to x%.
It will then further be augmented by equipment etc.
This notetag will ignore the default plugin parameter setting.
<Magical Block Rate: x%>
Sets this actor's or enemy's magical block rate to x%.
It will then further be augmented by equipment etc.
This notetag will ignore the default plugin parameter setting.
<Certain Block Rate: x%>
Sets this actor's or enemy's certain block rate to x%.
It will then further be augmented by equipment etc.
This notetag will ignore the default plugin parameter setting.
<Block Reduction: x%>
Sets this actor's or enemy's block damage reduction to x%.
It will then further be augmented by equipment etc.
This notetag will ignore the default plugin parameter setting.
<Block Flat: x>
Sets this actor's or enemy's flat damage reduction to x.
It will then further be augmented by equipment etc.
This notetag will ignore the default plugin parameter setting.
You can use a formula with the variables: user, v[x], s[x].
User refers to the battler in question, s[x] to switch x and
v[x] to variable x.
► CLASSES, WEAPONS, ARMOURS, STATES
Spoiler<Physical Block Rate: +x%> or <Physical Block Rate: -x%>
Increases or decreases physical Block Rate by x%. Note that this is an additive
alteration of the value. It's simply added onto the current value.
<Magical Block Rate: +x%> or <Magical Block Rate: -x%>
Increases or decreases magical Block Rate by x%. Note that this is an additive
alteration of the value. It's simply added onto the current value.
<Certain Block Rate: +x%> or <Certain Block Rate: -x%>
Increases or decreases certain Block Rate by x%. Note that this is an additive
alteration of the value. It's simply added onto the current value.
<Block Reduction: +x%> or <Block Reduction: -x%>
Increases or decreases the Block Damage Reduction by x%. Note that this is an
additive alteration of the value. It's simply added onto the current value.
<Block Flat: +x> or <Block Flat: -x>
Increases or decreases the Flat Damage Reduction by x. Note that this is an
additive alteration of the value. It's simply added onto the current value.
You can use a formula with the variables: user, v[x], s[x].
User refers to the battler in question, s[x] to switch x and
v[x] to variable x.
► ITEMS, SKILLS
Spoiler<Ignore Blocking>
This item/skill cannot be blocked.
►
Screenshot
In this picture, the enemy is using an attack that deals exactly 100 Damage. Dean is blocking though, hence the damage is reduced to 70 (30% damage reduction).
Terms of Use,
Download and some more words on
Usage can all be found
on my blog.
本贴来自国际rpgmaker官方论坛作者:Alistair处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/ap-blocking.66052/