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
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


Updated Plugin to V1.02:
– Using Replenish will now show popups too.
– Healing Skills are now unaffected by Mana Shields
LikeLike
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
LikeLike
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
LikeLike
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.
LikeLike
awesome script. Thanks!
LikeLike
Thanks!
LikeLike
Updated Plugin to V 1.07
– You may now use formulas instead of fixed numbers in notetags.
LikeLike
When I used MP damage instead of HP damage on my skill, there are no MP popups. Anyone else?
LikeLike
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.
LikeLike
Thanks for pointing it out. Should be fixed now.
LikeLike
Plugin updated to V1.081:
– Fixed rounding error with Replenish
LikeLike
Alistair hello,I want to ask Be attacked deduction Magic ,damage value Not appear
LikeLike
Show MP Popups Already is Open,plug in unit Is in New engineering test ,When testing Only one plug in unit
LikeLike
I’m not sure if I understood that right but I’ll try to fix this.
LikeLike
1. there is a mistake in your Code. or just for me ?
for the Tage is not working. from your code you need to use <MS_MPRatio: x) the _ is missing. also if my MP is at 0 i still get the "splitt" of dmg.
i also have tryed with on my Armor ( a ring ) still same.
the effect is permanent aktiv…
2. i cant use the TP mode. if i put it insite the tag it still use MP mode. from the first overviewing i cant find it in the codeing where it could be.
yes i use yf Battle engie and yf Echance TP ( to incirese max tp to 1000)
LikeLike
Hi Hisu,
this is one of my first plugins and as you correctly said it has quite a few problems.
As noted on the front page, I’m very busy these days but once I’m fully back, I’ll fix it up!
LikeLike
Is this fixed yet?
LikeLike
Works fine for me.
Maybe elaborate a bit.
LikeLike
Hello, I know that this plugin has not been updated in a really long time, but if you ever get the chance, it would be nice for it to have a TP pop up! Thank you for the nice plugin.
LikeLike
Hello,
unfortunately there are no innate TP popups built into RPG Maker. There’s only ones for HP and MP, thus it’s not possible to add a TP popup on the fly.
LikeLike
Hi ! I have a problem with the notetag.
I tried and but both are not working and the default value is alays used. Can you help me ?
LikeLike
Hello,
can you elaborate a little more on this problem? What exactly is happening?
LikeLike