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.
Beast Boost is a new passive ability found in the Pokémon Sun/Moon games. When a unit with this ability KO’s another unit, the unit will gain a boost to its highest stat as a buff temporarily. Here’s how we can make this effect in RPG Maker MV!
You can grab the copy/paste code here:
Insert the following Lunatic Mode code into your Beast Boost passive state’s notebox. Change the values in red to reflect the settings of your game.
<Custom Establish Effect> // Check if Beast Boost hasn't been applied yet and if the target is dead or the target's HP is 0 if (!this._beastBoostApplied && (target.isDead() || target.hp <= 0)) { // Enable the Beast Boost flag this._beastBoostApplied = true; // Get the parameter ID to be boosted to be ATK var boostParam = 2; // Loop through ATK, DEF, MAT, MDF, AGI, and LUK parameters for (var i = 3; i < 8; ++i) { // Check if the looped parameter is the highest if (user.param(i) > user.param(boostParam)) { // Set the boosted parameter to the currently looped parameter boostParam = i; } } // Set the number of turns for the buff var turns = 5; // Buff the attacker user.addBuff(boostParam, turns); // Play an animation on the attacker user.startAnimation(51); } </Custom Establish Effect>
Enjoy!
Please wait while you are redirected...or Click Here if you do not want to wait.