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,730
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

Folks, if anyone sends you a message inviting you to add their API to your game, please report them. We don't want people spamming our members asking them to add stuff to their games for their own (or others') benefit.
I'm listening to iiluminaughtii talking about the secrets behind shady businesses and scams. Meanwhile I'm writing a fanfic about Sephiroth from FF7, one specifically for my stepmom. I'll get to give it to her, too, because my boss said I could take the holidays off! Dec. 22-27 I will be in Orlando, and maybe Fort Myers too, visiting my dad and stepmom!
Of course, I bought a handful of games on the Steam Black Friday sale. Will I try them? Will I complete any? Who knows...
I don't really have any neat updates today about how I screwed up programming... But if you want to observe the intensenes of me programming, then you can check out my stream :)
New Weapons.gif
No more spam from me today, I promise! Just wanted to upload this, people have been giving me feedback that my weapon sprites (which were RTP) clashed badly with my battlers for ages, so today I finally took the plunge and updated them! Really happy with how they came out :D :D

Forum statistics

Threads
117,009
Messages
1,103,786
Members
152,904
Latest member
gumi16
Top