- Joined
- Feb 13, 2014
- Messages
- 38
- Reaction score
- 9
- First Language
- English
- Primarily Uses
I'm looking to make a skill in which an actor absorbs HP from an ally, replenishing his own. I also would like it if the skill could stop short of killing the target (leaving 1 HP). The problem is, I can't seem to get it working. The ally is damaged, but no HP is being absorbed.
I've set the skill up so that it's a HP Drain type with Absorb element. The scope is One Ally, usable Only in Battle.
The formula is as follows.

I've set the skill up so that it's a HP Drain type with Absorb element. The scope is One Ally, usable Only in Battle.
The formula is as follows.
Hopefully someone can set me on the right track with this. Thanks in advance!if b.hp >= a.hp; a.mhp - a.hp else; a.mhp - a.hp + 1; end;

