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.
In Everquest 2, the ability Perfection of the Maestro makes it so that when any offensive spell is used against the party, the whole party gets a buff to their magical power. Here’s how we can recreate the effect in RPG Maker MV!
You can grab the copy/paste code here:
Insert the following Lunatic Mode code into your aura effect state’s notebox. Change the values in red to reflect your game’s settings.
<Custom React Effect>
// Check if the maestro effect hasn't occurred and if the action deals magical damage
if (!this._maestrobuffed && this.isMagical() && this.isHpEffect() && value > 0) {
// Set the maestro effect to have occurred
this._maestrobuffed = true;
// Get the target's alive allies
var members = target.friendsUnit().aliveMembers();
// Loop through each ally
for (var i = 0; i < members.length; ++i) {
// Get the currently looped ally
var member = members[i];
// Check if the member exists
if (member) {
// Get the paramID for MAT
var buffId = 4;
// The number of turns to make the buff last
var turns = 5;
// Play an animation on the target
member.startAnimation(51);
// Add the buff to the target
member.addBuff(buffId, turns);
}
}
}
</Custom React Effect>
Enjoy!
Please wait while you are redirected...or Click Here if you do not want to wait.