- Joined
- Jun 15, 2014
- Messages
- 283
- Reaction score
- 196
- First Language
- English
- Primarily Uses
- RMMV
~ Mana Shield ~
For the latest updates please visit my blog. I won't update this thread anymore.
Hi again!I know there are several scripts covering this, but I'm all for diversity.
The script will allow your weapons, armours and states to have mana shield capability.
New in V1.1:
I removed the shield types and replaced their functions with several notetags. You can now have a mana shield with 20% split, 30% absorb and 50% replenish if you want.
This enables you to have more flexible mana shields and it enables me to add new tags easier.
You may use these notetags:
<absorb_damage: x%> or optional <absorb_damage_x: y%>
Will reduce incoming damage by x%.
The optional version will allow you to reduce x (= HP or MP) damage only.
<reduce_damage: x> or optional <reduce_damage_x: y>
Will reduce incoming damage by x.
The optional version will allow you to reduce x (= HP or MP) damage only.
<split_damage: x%>
Will split incoming damage by x% between HP and MP.
<replenish_x: y%>
Will replenish x by y% of the damage.
Replace x with either HP or MP.
<ignore_damage: y%> or optional <ignore_damage_x: y%>
Will ignore (nullify) all the damage with a probability of y%
The optional version will allow you to nullify x (= HP or MP) damage only.
Will reduce incoming damage by x%.
The optional version will allow you to reduce x (= HP or MP) damage only.
<reduce_damage: x> or optional <reduce_damage_x: y>
Will reduce incoming damage by x.
The optional version will allow you to reduce x (= HP or MP) damage only.
<split_damage: x%>
Will split incoming damage by x% between HP and MP.
<replenish_x: y%>
Will replenish x by y% of the damage.
Replace x with either HP or MP.
<ignore_damage: y%> or optional <ignore_damage_x: y%>
Will ignore (nullify) all the damage with a probability of y%
The optional version will allow you to nullify x (= HP or MP) damage only.
Place this script below most of your other scripts. I mostly only use Yanfly Scripts so there MAY be compatibility issues with other scripts which modify the same methods.
Screenshot:
This shield will absorb 40% of HP damage, split the damage between HP and MP and has a 10% chance of ignoring the damage altogether.
Script:
Get it at my Dropbox.
Changelog:
V 1.1
- Completely changed the way mana shields work. You may now use several note tags to grant a shield various effects.
- Transformed Split, Absorb and Replenish into note tags.
- Added two new types: Ignore and Reduce
V 1.0
- First release
- Completely changed the way mana shields work. You may now use several note tags to grant a shield various effects.
- Transformed Split, Absorb and Replenish into note tags.
- Added two new types: Ignore and Reduce
V 1.0
- First release
Tell me your ideas and I'll see if I find some time.
Thanks to:
- Yanfly for his scripts from which I've learnt a lot about scripting
Terms of Use:
Direct link to my Terms of Use document: CLICK
Last edited by a moderator:

