How to add exact damage into a skill description?

Mahoken

Regular
Regular
Joined
Nov 24, 2013
Messages
41
Reaction score
3
First Language
English
Primarily Uses
If I have a skill, for example, that deals 100 + 200% attack + 120% magic, how would I make it so that the description of the skill in-battle would show 100 + [200% of your actual attack] + [120% of your actual magic]? It would look better as actual numbers than random percents, because not everyone has time to do math during the battle.
 

Poryg

Dark Lord of the Castle of Javascreeps
Regular
Joined
Mar 23, 2017
Messages
4,235
Reaction score
11,372
First Language
Czech
Primarily Uses
RMMV
It depends how much accuracy you want. If you want the exact accuracy, you can run an event every turn that will calculate these values and stores them inside a variable. From there it's simply \v[x] in skill description.
If you want to make the job easier for computers, you can do it just once. That will not count with buffs and debuffs though.
It would be better to use Galv's battle action info.
https://galvs-scripts.com/category/rmmv-plugins/mv-battle/
 

Mahoken

Regular
Regular
Joined
Nov 24, 2013
Messages
41
Reaction score
3
First Language
English
Primarily Uses
It depends how much accuracy you want. If you want the exact accuracy, you can run an event every turn that will calculate these values and stores them inside a variable. From there it's simply \v[x] in skill description.
If you want to make the job easier for computers, you can do it just once. That will not count with buffs and debuffs though.
It would be better to use Galv's battle action info.
https://galvs-scripts.com/category/rmmv-plugins/mv-battle/

I was able to make an event that calculated the formula each turn and plugged it into the skill description! Thank you :D
 

Latest Threads

Latest Profile Posts

*Goes away*
*Returns after a few days to see what's happening*
*Sees what's happening*
ErifB_2.pngLuminusActor_DMG_6.png
Sooooo close to picking a game idea for the jam. That's almost halfway done, right? :D
I have completed what is clearly the most important part of participating in the game jam: coming up with a name!
My shrink has me trying to limit 30 mins a day for each of my personal projects so I can have a healthier life. But lately the rpg making in particular has been hard to pull away from and I keep getting lost in it.

Forum statistics

Threads
136,570
Messages
1,267,684
Members
180,259
Latest member
okurigii
Top