Creating scaling damage formula

Miguelitojimz

Miguel Jimenez (Constructo Games)
Member
Joined
Aug 23, 2015
Messages
13
Reaction score
22
First Language
Spanish
I'm looking for a scaling formula for damage in VX ace, since i don't know if there's a script in VX Ace similar to Yanfly's armor scaling in MV.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,839
Reaction score
6,819
First Language
Indonesian
Primarily Uses
RMVXA
What does it do?
 

Miguelitojimz

Miguel Jimenez (Constructo Games)
Member
Joined
Aug 23, 2015
Messages
13
Reaction score
22
First Language
Spanish
What does it do?
"Armor Scaling allows the damage formula to be rid of “b.def * 2” and similar calculations in favor of scaling the damage relative to the armor values that the attack target has."
Basically, prevents enemies and players to stack too much DEF and take no damage.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,718
First Language
English
Primarily Uses
RMVXA
You could try something like this

a.atk * 4 * 100 / (100 + b.def * 2)

This will always deal a reasonable amount of damage. Obviously, you can change the * 4 and *2 parts to make weaker/stronger versions.
 

sleepy_sealion

Need to work harder!
Veteran
Joined
Jan 4, 2018
Messages
247
Reaction score
429
First Language
English
Primarily Uses
RMVXA
Something that might help you is to look at damage formula's from other games and see how they work.

I feel like something that works for me is adding "levels" in the equation or trying to set up an equation that makes a huge number, and then slap Math.sqrt around it to shrink and multiply it by a base damage number.
 

Latest Threads

Latest Profile Posts

"Man is made by his belief. As he believes, so he is."-Krishna
FastFood in my country is neither fast nor cheap like it's expected to be, but people still buy a lot of it. I don't want to imagine how much of it people would eat if it was.
Started finishing up my bosses and characters...I don't know how long...but its going to take long...

I ended up needing to do a chapter one world map remake. It's still WIP but coming along nicely. =D
Stream will be live shortly! I will be beginning a play-through of Resident Evil 4! Feel free to drop by!

Forum statistics

Threads
107,753
Messages
1,031,900
Members
139,898
Latest member
Karuu
Top