Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Help Description>
- Unit gets 50% of source's direct HP healing
- Source gets 50% of unit's direct HP healing
- </Help Description>
- <Custom Apply Effect>
- origin._linked.push(target);
- </Custom Apply Effect>
- <Custom React Effect>
- if (this.isHpEffect() && value < 0) {
- var heal = Math.ceil(value * 0.5);
- if (origin && origin.isBattleMember()) {
- origin.gainHp(-heal);
- origin.startDamagePopup();
- origin.clearResult();
- }
- }
- </Custom React Effect>
- <Custom Remove Effect>
- origin._linked.shift();
- </Custom Remove Effect>
- <Custom Leave Effect>
- origin._linked.shift();
- </Custom Leave Effect>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement