Tips & Tricks – Arcane Curse (DOTA2) – RPG Maker MV

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.

Arcane Curse is an effect from DOTA2. First, it slows the enemy down. However, whenever the enemy casts a magical spell, it will increase the duration of the curse. Here’s how to recreate the effect in RPG Maker MV!

You can grab the copy/paste code here: Insert the following notetags and code into your Arcane Curse state’s notebox. Change the values in red to reflect your game’s settings.

<Reapply Add Turns>

<Custom Action Start Effect>
// Get the current action
var action = user.currentAction();
// Check if the action exists and if it is magical
if (action && action.isMagical()) {
  // Get the current turns and increase it by 4
  var turns = user.stateTurns(stateId) + 4;
  // Apply that new state turn value.
  user.setStateTurns(stateId, turns);
</Custom Action Start Effect>


Please wait while you are redirected...or Click Here if you do not want to wait.