RPG Maker Forums

Hello, I am pretty new at this and was hoping to see if anyone could help me. I am using SumRndmDde's Timed Attack Core Plugin and I was trying to figure out a formula to make it so the speed of the "minigame" is based on the enemy's hp.


For example:


If I use the timed attack on an enemy with 100% hp, the speed of the timed attack spell will be really fast.


BUT


If I use the timed attack on an enemy with 20% hp, the speed of the timed attack will be a lot slower.


In the help area of the plugin it does state that the speed's parameter can both occupy a positive number or a javascript formula. I am just really unsure on how to make that formula and help would be very much appreciated. Thank you in advance!


Plugin Link: http://sumrndm.site/timed-attack-core/

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,836
Latest member
T62352536256t362
Top