Email: Password:
Codename Entertainment
Damage calculation
407 Posts
Link to post - Posted February 15th 2012 at 9:02 AM
Benedikt Albert
Hi everyone.

This thread is about calculating the damage, a Guardian deals in battle. I doubt that many players are really interested in this, however some people might want to know how strong potions and buffs are. At least I am, that's why I've collected some data (82 battles only, probably not enough... but it gives me an idea of how it works). If DJArts gives us the formula, the following math could turn out to be nonsense (if they don't, it might help you getting a basic idea though).

I made some assumptions to get my formula:
1. Attack power scales linearly.
=> this is very obvious and easy to test and means that an attack with double the power deals double the damage
2. Defense gets subtracted from Attack.
=> you can see this when using high defense versus low attack... those attacks always do zero damage (which wouldn't happen if we calculate this as a product)
3. It's not just Attack minus Defense.
=> if it was, the overall damage would be a lot lower and in many cases it would be zero.
4. Some obvious stuff like randomization and normalization.

Together with the data I have collected, it led me to the following formula:

(2 * A - D) * P * E * R / C

A: Attack / Special Attack (which ever is used)
D: Defense / Special Defense (which ever is used)
P: Power of the attack (e.g. 10 for Quick Attack)
E: Effectivness of the attack (e.g. 200% for Super Effective)
R: Randomization (happens to be between 85% and 115%)
C: Constant to adjust the overall outcome (seems to be 16)

So... how can you use that? The answer is you can't... not really. You can't be sure about your opponents defense, you can only guess here. If you are fine with that, you can use it like this:

You are attacking a level 20 Flicker (assuming its Defense is 30). You are using Fengal level 22, 55 Attack, Reckless Strike (power is 16) to do so.

(2 * 55 - 30) * 16 * 1 * R / 16 => somewhere between 68 and 92 damage (depending on R; 80 on average)

And what can you do with that info? You can use it to get an idea, how strong potions are. Let's try a Medium Attack Potion.

(2 * 67 - 30) * 16 * 1 * R / 16 => somewhere between 88 and 120 damage (depending on R; 104 on average)

The formula might be wrong (in fact it most likely is), but it gives very good results. I've tried a couple of scenarios and the actual damage was the same that the formula produced.
741 Posts
Link to post - Posted April 6th 2012 at 4:19 PM
Nate Dauer
Why the hell wasn't this bumped?
20 Posts
Link to post - Posted April 15th 2012 at 12:28 PM
Mangy Don
cool stuff
Log in to reply to this thread!