Guest User

Untitled

a guest
Feb 10th, 2016
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. <Custom Apply Effect>
  2. target._deathMarkDmg = 0;
  3. </Custom Apply Effect>
  4.  
  5. <Custom React Effect>
  6. if (value > 0 && attacker === origin && this.isHpEffect()) {
  7. target._deathMarkDmg += value;
  8. }
  9. </Custom React Effect>
  10.  
  11. <Custom Leave Effect>
  12. target.startAnimation(101);
  13. var dmg = Math.round(-0.50 * target._deathMarkDmg);
  14. target.gainHp(dmg);
  15. target._deathMarkDmg = 0;
  16. target.startDamagePopup();
  17. target.clearResult();
  18. </Custom Leave Effect>
Advertisement
Add Comment
Please, Sign In to add comment