Power Charge - Yanfly Battle and Buff Cores

So I'm having a.... odd problem.

I attempted to follow Yanfly's Power/Mind Charge tutorial. It works but I wanted to have 1 skill buff the next attack so I removed anything mentioning Physical or Magical. And it works! Damage is doubled...., but hard to tell the attack is going off. Yanfly has a section in the code to have it play an animation but mine doesn't. And while the first thing I checked was to make sure it wasn't an empty animation, it doesn't work with anything when done this way. Code is in the quote.

<Custom Action Start Effect>

// Get the current action.

var action = user.currentAction();

// Check if the action is magical and deals HP damage.

if action.isHpEffect() {

// Start the animation.

user.startAnimation(37);

}

</Custom Action Start Effect>



<Custom Confirm Effect>

// Check if the action is magical and deals HP damage.

if (this.isHpEffect() && value > 0) {

// Increase the damage by a multiplier.

value *= 2.0;

// Round up the damage.

value = Math.ceil(value);

// Remove the state.

user.removeState(stateId);

}

</Custom Confirm Effect>

I wasn't sure if it should go here or in plug in support.

Original thread: https://forums.rpgmakerweb.com/threads/power-charge-yanfly-battle-and-buff-cores.127987/