Tips & Tricks – Libra && Plugin Updates 41

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.

Want to make an ability to scan your enemy and reveal its HP? Now you can! This tips & tricks utilizes two plugins:

Skill Core
Visual HP Gauge

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

For those who would like the copy and paste version~

<Before Eval>
if (target.isEnemy()) {
  var id = target._enemyId;
  $gameSystem.addHpGaugeEnemy(id);
}
</Before Eval>

This requires Message Core to look nice. And for those who want a more expansive Libra that reveals the enemy’s stats and elemental weaknesses, resistances etc. Keep in mind, this is for those with larger screen resolutions to be able to show everything:

<Before Eval>
if (target.isEnemy()) {
  var id = target._enemyId;
  $gameSystem.addHpGaugeEnemy(id);

  var text = target.name() + '\n';
  text += '\\px[100]\\c[4]HP:\\c[0] ' + target.hp;
  text += '/' + target.mhp;
  text += '\\px[400]\\c[4]MP:\\c[0] ' + target.mp;
  text += '/' + target.mmp;
  text += '\\px[700]\\c[4]TP:\\c[0] ' + target.tp;
  text += '\n';
  text += '\\px[100]\\c[4]ATK:\\c[0] ' + target.atk;
  text += '\\px[400]\\c[4]MAT:\\c[0] ' + target.mat;
  text += '\\px[700]\\c[4]AGI:\\c[0] ' + target.agi;
  text += '\n';
  text += '\\px[100]\\c[4]DEF:\\c[0] ' + target.def;
  text += '\\px[400]\\c[4]MDF:\\c[0] ' + target.mdf;
  text += '\\px[700]\\c[4]LUK:\\c[0] ' + target.luk;
  $gameMessage.add(text);
 
  var weakness = '';
  var resist = '';
  var immune = '';
  var absorb = '';
  var elements = $dataSystem.elements;
  for (var i = 1; i < elements.length; ++i) {
    var name = elements[i];
    var rate = target.elementRate(i);
    if (rate > 1) {
      weakness += name + ' ';
    } else if (rate < 0) {
      absorb += name + ' ';
    } else if (rate === 0) {
      immune += name + ' ';
    } else if (rate < 1) {
      resist += name + ' ';
    }
  }
  if (weakness === '') weakness = 'None';
  if (resist === '') resist = 'None';
  if (immune === '') immune = 'None';
  if (absorb === '') absorb = 'None';
  weakness = '\\c[4]Weakness:\\c[0] ' + weakness + '\n';
  resist = '\\c[4]Resist:\\c[0] ' + resist + '\n';
  immune = '\\c[4]Immune:\\c[0] ' + immune + '\n';
  absorb = '\\c[4]Absorb:\\c[0] ' + absorb;
  text = weakness + resist + immune + absorb;
  $gameMessage.add(text);
}
</Before Eval>

Here’s how it would look like~

full libra


jobpoints

Fox and MuteDay created a couple of extension plugins for Job Points! 😀 Go check them out~

  • Fox’s JP Levels – This plugin adds levels to the Yanfly’s JobPoint System, like Final Fantasy Tactics had. It allows for restrictions on what skills your allowed to buy with the SkillLearnSystem based on the current classes’ Job Level. It allows for restrictions on what class your allowed to equip with the ClassChangeCore based on the current classes’ Job Level. The Job automatically gains levels just by gaining JobPoints.
  • MuteDay’s Job Point Extension – This plugin adds extended functionality to Job Points, by allowing trickle mechanics and how much subclasses gain while gaining JP for the primary class.
  • MuteDay’s Job Mastery – This allows you to to have skills be mastered when all the skills have been learned.

A couple of plugin updates tonight! One of which involves fixing an equipment duplication bug, much to my surprise, like the equipment duplication bug found in Final Fantasy Tactics. Words can’t really accurately describe how I felt when I learned about that existing… Anyway!

Plugin Updates as of Launch Date to 2015.12.02~

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!