Alistair Plugins: Mana Shield

Introduction

This Plugin is a mere conversion of its RPG Maker VX Ace counterpart. I have taken some optional notetags out, but they will be added back in in a short time.

Mana Shields are pretty common these days since they allow squishy battlers like Mages or Priests to become somewhat tanky since they have so much Mana to use as a second HP bar.
This Plugin will allow Weapons, Armours and States to act as Mana Shields.

In the Plugin Manager, be sure to place it BELOW all of Yanfly’s Battle Scripts or otherwise it may not work!


Usage

After installing the plugin, you may use several notetags in the Noteboxes of Weapons, Armours and States:

————————————————————————————————————————————————————

<ms_absorb:x>

Will reduce incoming damage by x%.
Example: <ms_absorb:20>. 100 Damage will be reduced by 20% => 80 Damage.

————————————————————————————————————————————————————

<ms_reduce:x>

Will reduce incoming damage by x.

Example: <ms_reduce:30>. 160 Damage will be reduced by 30 => 130 Damage.

————————————————————————————————————————————————————

<ms_split_x:y>

Will split incoming damage between HP and x (x being either MP or TP) by y%.

Example: <ms_split_MP:50>. 140 Damage will be split to 70 HP Damage and 70 MP Damage.

————————————————————————————————————————————————————

<ms_replenish_x:y>

Will replenish x (x being either HP, MP or TP) by y% of the damage.

Example: <ms_replenish_TP:50>. 100 Damage will recover 50 TP.

————————————————————————————————————————————————————

<ms_ignore:x>

Will ignore all incoming damage with a probability of x%.

Example: <ms_ignore:100>. Will certainly ignore any damage.

————————————————————————————————————————————————————

<ms_dissolve_x:y>

Will delete the state with the Mana Shield property if the afflicted battler has y or less x (x being either HP, MP or TP)

Example: <ms_dissolve_MP:0>. Will remove the Mana Shield State if the battler has 0 MP (or less) left.

————————————————————————————————————————————————————

<ms_TP_ratio:x>

1 TP will drain x Points of Damage. If there’s no Tag present, it will just revert to what’s set in the “Default TP Ratio” parameter.

Example: <ms_TP_ratio:5>. 1 TP will absorb 5 Points of Damage.

————————————————————————————————————————————————————

<ms_MP_ratio:x>

1 MP will drain x Points of Damage. If there’s no Tag present, it will just  revert to what’s set in the “Default MP Ratio” parameter.

Example: <ms_MP_ratio:2>. 1 MP will absorb 2 Points of Damage.

————————————————————————————————————————————————————

For further help please review the plugin’s help file!


Settings

pls

Allow Healing: If you go overboard with some notetag values, the Mana Shield may even end up healing the shielded battler. Allow this behaviour? Default Value: false

Cap Notetag Values: Some Mana Shield Properties can screw things up if they go beyond 100%. Settings this to true will cap those notetags at 100. Default Value: true

Show MP Popups: If this is false, there won’t be any MP Popups anymore (not even the default ones). Default Value: true

Default MP Ratio: The default HP Damage to MP Damage Ratio which will apply to all Shields unless you use notetags to change them. Default Value: 1

Default TP Ratio: The default HP Damage to TP Damage Ratio which will apply to all Shields unless you use notetags to change them. Default Value: 1


mspic


Get it at my Dropbox

Advertisements

15 thoughts on “Alistair Plugins: Mana Shield

  1. Updated Plugin to V1.03:

    – Added the Cap Notetag Values Parameter
    – Added the Hide MP Popups Parameter
    – Fixed Parameter Handling
    – You may now use split to split damage between HP and TP.
    – You may now use the new notetag to make a state disappear
    if the battler afflicted with it has y x
    (y being any number, x being HP, MP or TP) or less
    – Fixed unneccessary MP Damage Popups

    Like

  2. Updated Plugin to V1.04:

    – Added the Default MP Ratio Parameter
    – Added the Default TP Ratio Parameter
    – Added Notetags to change the MP/TP Ratio
    – Recovery Rate (rec) will now be considered when using Replenish HP
    – Recovery Rate (rec) will now be considered when using Replenish MP
    – TP Charge Rate (tcr) will now be considered when using Replenish TP
    – If an ignore tag applies in battle, TP damage will now be ignored as well

    Like

  3. Updated Plugin to V 1.05:

    – Fixed value rounding
    – Compatibility with YEP_DamageCore

    * DamageCore is pretty large so in case you find Compatibility issues report them to me.

    EDIT:

    Actually, Updated to V1.06. No changes to the actual plugin. Just rewrote some code.
    If you plan on using both my Mana Shield Plugin and Zombie/Vampiric State Plugin be sure to update the Mana Shield Plugin.
    The new code is required to work together with my new Plugin.

    Like

  4. Great plugin! As Phil mentioned above I just realised doing MP Damage when using any note tags set to 100 or when MP is low there will be no popups.

    Like

      1. Show MP Popups Already is Open,plug in unit Is in New engineering test ,When testing Only one plug in unit

        Like

Write a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s