- Joined
- Feb 10, 2016
- Messages
- 23
- Reaction score
- 8
- First Language
- English (UK)
- Primarily Uses
- N/A
Hi all,
I'm attempting to make a skill that grants the target 20% of their max hp as a shield whenever it is cast using Yanfly's Absorption Barrier plugin. Since I know nothing about Java and there isn't a single basic terminology guide I can find anywhere, I don't actually know what the command for max hp is. Currently I have the following, which only grants a barrier based off of current hp:
<Custom Target Barrier 4 Turns>
value = target.hp% 20 <------------- I need this to be max hp instead of current hp
</Custom Target Barrier>
Can anyone help out?
Many thanks,
HatJump
I'm attempting to make a skill that grants the target 20% of their max hp as a shield whenever it is cast using Yanfly's Absorption Barrier plugin. Since I know nothing about Java and there isn't a single basic terminology guide I can find anywhere, I don't actually know what the command for max hp is. Currently I have the following, which only grants a barrier based off of current hp:
<Custom Target Barrier 4 Turns>
value = target.hp% 20 <------------- I need this to be max hp instead of current hp
</Custom Target Barrier>
Can anyone help out?
Many thanks,
HatJump


