How to add exact damage into a skill description?

Mahoken

Veteran
Veteran
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
Veteran
Joined
Mar 23, 2017
Messages
4,228
Reaction score
11,122
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

Veteran
Veteran
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

Trailer is almost done for the game i can't wait to show it to everyone
I've got good news and bad news. The good news is, there aren't any bad news to report. The bad news is, there aren't any good news to report.

Or as others say, yesterday was uneventful.


I am curious that can you "understand/get the point" about what does this place do generally?
(ARPG game)
If anyone knows any C# programmers, please send them my way.
Chilling at night in a tavern.
ChillingAtTavern.png

After 'multiple breakdowns', it's finally over. 10/10 will do this again.

Forum statistics

Threads
129,853
Messages
1,205,728
Members
171,028
Latest member
VictorBot
Top