Power Charge - Yanfly Battle and Buff Cores

MerlinCross

Veteran
Veteran
Joined
Jun 8, 2015
Messages
208
Reaction score
89
First Language
English
Primarily Uses
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Evil7 added!


I did a bit of a remake on one of the maps, also I made a particle for jumping into the portal, and one for traveling through the portal. I'll probably add more sparkles later to embellish it. :LZSwink:
Polished the animation and added details :kaojoy:
Ami
What do you think about the Wood Bridge inside of Volcano?
Yet another gaming question, i'm currently playing Last of Us 2 and want to get another game to play next but can't decide between Ghost of Tsushima, Miles Morales & Jedi Fallen Order. After the latest mandalorian i AM on a star wars kick, but i also LOVED the last spiderman game that prequels Miles Morales. Ghost of Tsushima is the bottom of my list but i heard it was AWESOME. Just want a good story & fun gameplay.

Forum statistics

Threads
105,676
Messages
1,015,492
Members
137,353
Latest member
vongolavxv
Top