SSLRRANMA'S PROFILE

Search

Damage Formula - How to make it work?

Hi. I'm new to the RPG Maker program, but i have been working on an RPG for a long time. I have a formula i want to use, but i am not sure how to get it to work. Essentially, its this:


Phys Minimum Damage - (a.atk / b.def) * 15
Phys Maximum Damage - (a.atk / b.def) * 25

Phys Crit Minimum - (a.atk / b.def) * 35
Phys Crit Maximum - (a.atk / b.def) * 45

Magic Minimum Damage - ((a.Mat / b.mdf) * X) * 1.6
Magic Maximum Damage - ((a.Mat / b.mdf) * X) * 1.8

How it works is i take what the minimum damage is for the attack, and the maximum, and the damage is between there. Not sure if i can get away with using a random variable for 15-25 or not. If it helps, i have the lunatic damage script.

Edit: Using VXAce. Wont be using equipment at all.
Pages: 1