Tips & Tricks – Zed’s Death Mark

Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.

Zed’s Death Mark is a status effect that triggers once it expires. When it expires, it deals a percentage of all the damage Zed dealt to the target foe during the duration of the Death Mark. Now, this special effect can be recreated in RPG Maker MV!

Buffs & States Core

You can get the copy and paste version of the code here:

Please wait while you are redirected...or Click Here if you do not want to wait.
<Custom Apply Effect>
target._deathMarkDmg = 0;
</Custom Apply Effect>

<Custom React Effect>
if (value > 0 && attacker === origin && this.isHpEffect()) {
  target._deathMarkDmg += value;
}
</Custom React Effect>

<Custom Leave Effect>
target.startAnimation(101);
var dmg = Math.round(-0.50 * target._deathMarkDmg);
target.gainHp(dmg);
target._deathMarkDmg = 0;
target.startDamagePopup();
target.clearResult();
</Custom Leave Effect>

Place this into your Death Mark state’s notebox!

Be sure to set the state to Turn End and not Action End!