A downloadable Plug-in

Download NowName your own price

How to use:

Set the formula in the skill's/item damage formula (The damage type doesn't matter) and a notetag in the item.

If you want to reference an actor/enemy shield hp use "target".shield or "target".maxshield for the max hp. 


Notetags:

For Skills and Items:


<Shield Apply>

This will apply a shield to the target.


<Shield Damage>

This will do damage to the target's shield but not to it's hp.


<Shield Recover>

This will recover the shield's hp but doesn't apply to the target's hp.

 

<Shield Drain>

This will damage the target's shield hp and recover the user's shield hp and, if the user doesn't have a Shield: the user will gain a new shield wich max hp will be equal to the damage

Script Call:


Battler:

target.gainShield(value)     The target Shield gains hp equal to value

target.setShield(value)      The target's Shield hp will be set to value

target.applyShield(value)    The target will gain a new shield wich max hp will be equal to  value

target.result().shieldDamage              Returns the damage/recover done to a shield


Action:

action.isShieldApply()       Check if the action applies a Shield

action.isShieldEffect()      Check if the action affects a Shield


Comment any bug, so I can fix it.


----------------------------------------------

Log

-----------------------------------------------

1.1: Solved a problem with the bars position and size

1.0: Plugin Release

Download

Download NowName your own price

Click download now to get access to the following files:

Revo_ShieldSystem.js 15 kB

Leave a comment

Log in with itch.io to leave a comment.