RPG Maker Forums

Hello,

I am using Yanfly's Skill Core script (as you can see in the Note section).

I want this skill to perform as written in the description - restore the party's HP based on the user's remaining percent of MP. I have the MP cost setup as all remaining MP (it defaults the cost to 1 MP if MP is at 0 so it can't be used at 0 MP).

The problem is this, when using the skill in battle, the MP cost is spent before the damage formula is applied. Since this particular skill requires all MP, it winds up restoring 0 HP.

How can I have the game spend the MP after applying the formula?

Thanks in advance.

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,469
Members
137,821
Latest member
Capterson
Top