ID:265532
 
I need a bit of help in desiging my battle formula.
Ok, I already have my dodging formula, but now for the damage one.

I have 3 stats that are predominent in this.
Strength: This is your base attack.
Attack: This is your bonus from weapons.
Defense: This is the enemies defense from it's equipment.

The way damage works is
                            var/Damage = (round(src.Strength+src.Attack)/2)
var/Block = round(Defense/2)
Damage -= Block

Well, the thing is that damage is always the same number, any idea on what I should do to add more variety in the damage done?
Damage += rand(10)

?

Or, if you're feeling especially daring:

Damage += round(rand(src.Strength/10))


=O
In response to Elation
Thanks, I already thought of a new way.
In response to Sniper Joe
damage*=rand(90,110)/100


!!!!!!
In response to Jp
I love your random posts, Jp. >_>
In response to Hell Ramen
What? It's a valid suggestion. Use percentages. That's what I've always done.

Random is fun, anyway. :P. Punnage!