- Joined
- Nov 14, 2016
- Messages
- 6
- Reaction score
- 0
- Primarily Uses
- N/A
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/
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/

