Tips & Tricks – Spirit Shackles

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.

Spirit Shackles is a unique skill from Guild Wars where the target affected by it will lose 5 MP each time they attack. Now, you can produce the same effect in RPG Maker!

Skill Core

Image Source

Here’s the copy and paste version of the code:

Please wait while you are redirected...or Click Here if you do not want to wait.
<Pre-Damage Eval>
if (user.isStateAffected(80)) {
  user.gainMp(-5);
}
</Pre-Damage Eval>

Have fun!