Tips & Tricks – Flourish (Guild Wars) && Plugin Updates 101

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.

Flourish is a skill from Guild Wars, that recharges Combat skills and restores Energy for each one recharged this way. With this Tips & Tricks, you can now recreate this skill in RPG Maker MV, too!

Skill Core

Skill Cooldowns

For the copy and paste versions of the code~

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

Regain HP:

<Before Eval>
var hpGained = 0;
for (var i = 0; i < user.skills().length; ++i) {
  var skill = user.skills()[i];
  if (skill === this.item()) continue;
  if (skill.stypeId === 6) {
    if (user.cooldown(skill.id) > 0) {
      hpGained += 10;
      user.setCooldown(skill.id, 0);
    }
  }
}
user.gainHp(hpGained);
</Before Eval>

Regain MP:

<Before Eval>
var mpGained = 0;
for (var i = 0; i < user.skills().length; ++i) {
  var skill = user.skills()[i];
  if (skill === this.item()) continue;
  if (skill.stypeId === 6) {
    if (user.cooldown(skill.id) > 0) {
      mpGained += 10;
      user.setCooldown(skill.id, 0);
    }
  }
}
user.gainMp(mpGained);
</Before Eval>

Regain TP:

<Before Eval>
var tpGained = 0;
for (var i = 0; i < user.skills().length; ++i) {
  var skill = user.skills()[i];
  if (skill === this.item()) continue;
  if (skill.stypeId === 6) {
    if (user.cooldown(skill.id) > 0) {
      tpGained += 10;
      user.setCooldown(skill.id, 0);
    }
  }
}
user.gainTp(tpGained);
</Before Eval>

Have fun!


A small update tonight for those using a tick-based battle system and the Battle AI Core. The ATB and CTB systems are now tweaked to make better AI decisions on the go. Another update is made for the Item Synthesis plugin for those with a bit of lag so that the recipe counts appear more accurately.

Plugin Updates as of Launch Date to 2016.02.03~

To download all available plugins, click here.

Battle System – ATB v1.20

Battle System – CTB v1.20

Item Synthesis v1.03a

View the changelog here.

To download all available plugins, click here.

If you want to leave a bug report, please do it in the most recent Plugin Update post by pressing Continue~ 


Bug Report Template:

>>>NOTE!<<<
HOWEVER, before you make a bug report! Please visit my website and download all the latest versions of the plugins (and installing them properly). If you don’t have the patience to do that, I won’t share my patience to fix the bug. If you still get the bug after updating all the plugins and installing them properly, continue on and using this template:

Here is the template to submit a bug report:

Plugin Name: (What is the name of the plugin?)

Error Message: If you received an error message:
1. Press F8 when you receive it to open up the debug console.
2. On the console tab, copy/paste the error log and paste it here.
3. If you post a screenshot, host it on imgur.com or another website because the images posted here are tiny and I can’t read it.

How to Replicate Bug: In order for me to fix a bug properly, explain to me IN DETAIL, how you managed to get it to occur. If I cannot replicate the bug, I may ask you to upload a copy of your game’s project for me online through either Mediafire, Dropbox, Mega.co or any other online hosting provider. Do NOT deploy the game. After doing so, it’s best if you send it through private message if you don’t want others rummaging through your game’s files.

Other: Post screenshots of the bug, screenshots of your plugin list, videos also help, etc. Anything that will make it more clear for me will help me out.

Thank you for your cooperation!


Happy RPG Making!