Tips & Tricks – Subdue, then Strike (Star Wars Galaxy of Heroes) – 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.

Subdue, then Strike is another passive ability from Star Wars: Galaxy of Heroes. If the user didn’t receive damage during the current turn, then, the next turn, the user receives a Speed buff. If the user already has a Speed buff, then the user will also receive an Attack buff. This video will show you how to recreate this effect in RPG Maker MV!

You can grab the copy/paste code here: 

Insert the following Lunatic Mode code into your passive state’s notebox. Change the values in red to reflect your game’s settings.

<Custom Turn End Effect>
// Check if the user wasn't hit during the turn
if (!user._subdueStruck) {
  // Play an animation
  // The number of turns for the buffs
  var turns = 3;
  // Check if the user has an AGI buff
  if (user.isBuffAffected(6)) {
    // Add an ATK buff
    user.addBuff(2, turns);
    // Add an AGI buff
    user.addBuff(6, turns);
  } else {
    // Add an AGI buff
    user.addBuff(6, turns);    
// Reset the user struck flag
user._subdueStruck = false;
</Custom Turn End Effect>

<Custom Respond Effect>
// Check if the target took HP damage from the action
if (target.result() && target.result().hpDamage > 0) {
  // Enable a flag to indicate the user has been struck
  target._subdueStruck = true;
</Custom Respond Effect>


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