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,158
Reaction score
10,731
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 Posts

Latest Profile Posts

Well, someone "reviewed" my game. Didn't credit me anywhere in the video and spent 2 minutes insulting it. Going to ignore that and move on.
To cut down on map lag, I've been researching how to implement a lighting layer as a single map overlay instead of a bunch of individual lights. Hopefully I'll have a screenshot soon!
Imagine having a game broken up into a whole bunch of chapters? Like Chapter 11 should be about the party members going bankrupt.
Over 1/4th of the calendars are already out :eek: Have you already put something to a good use?

Forum statistics

Threads
117,261
Messages
1,105,922
Members
153,431
Latest member
shadowking1901
Top