Author | damage calculations |
https://www.lordswm.com/war.php?warid=774460856
checkout the fireball by dwarf.
other troops get 219 damage but unicorn got 179.
219*0.70 is not equal to 179.
somebody give me proper explaination for:
how was 219 damage calculated.
how was 179 calculated. |
Very obvious, you are forgetting he has 34% pierce through resistance, this pierces through both your resistance talent and unicorn ability, I will be posting calculations shortly. |
Damage with fireball with expert talent = 11+11*sp
sp=27
Therefore base damage = 308.
Dwarf resistance 18% (multiply by 0.82)
Base magic resistance without unicorn: 20% (from talent) (multiply by 0.8)
With unicorn: 30% and also 20% from talent (multiply my 0.8 and then by 0.7, or simply by 0.56)
Pierce through resistance: 34% (Multiply the magic resistance by 0.66)
So damage without unicorn:
(308)(0.82)(1-(0.2(0.66)))=219.22208
With unicorn:
(308)(0.82)(1-(0.44(0.66)))=179.216576
PS: The 0.44 above is taken by combining the resistances, 0.8*0.7=0.56 and then subtracting that from 1. It would give a different answer if you take them individually and do the following:
(308)(0.82)(1-(0.2(0.66)))(1-(0.3(0.66)))=175.81610816 |
Okay, everything is crystal clear.
It is clearly seen from the damage on unicorn that a combination of 20% and 30% magic shield is equivalent to 44% magic shield.
so instead of being added, they are calculated as shown in above post.
Thank You. |
@15
will you make formula like:
100*0.8*0.8*0.97*0.95*0.97*0.97*0.8*0.7*0.85=26.41
so your resistance is 100-26.4=73.6
10% pierce to magic resistance will be 10% of 73.6 = 7.36
so in the end wizard will do 26,4+7.3=33 or 34
@23
Damage with fireball with expert talent = 11+11*sp
sp=27
Therefore base damage = 308.
Dwarf resistance 18% (multiply by 0.82)
Base magic resistance without unicorn: 20% (from talent) (multiply by 0.8)
With unicorn: 30% and also 20% from talent (multiply my 0.8 and then by 0.7, or simply by 0.56)
Pierce through resistance: 34% (Multiply the magic resistance by 0.66)
So damage without unicorn:
(308)(0.82)(1-(0.2(0.66)))=219.22208
With unicorn:
(308)(0.82)(1-(0.44(0.66)))=179.216576
PS: The 0.44 above is taken by combining the resistances, 0.8*0.7=0.56 and then subtracting that from 1. It would give a different answer if you take them individually and do the following:
(308)(0.82)(1-(0.2(0.66)))(1-(0.3(0.66)))=175.81610816
both of them shows a different method to calculate peirce through magic.
I think 23 is correct but let us compare the 2 method and see if it is really different.
1) post 15 uses peirce on faction resistance also whereas @23 does not.
2) post 15 based on final damage and then peirce calculation whereas @23 involves peirce in calc. itself.
comparing with the example of @23 by using @15 post method.
308*0.82*.08=202
so resistance is 106 and 34% of 106 = 36.04
so final damage is 202+36.04=238(wrong value. Hence post 15 calculations are wrong). |
It is clearly seen from the damage on unicorn that a combination of 20% and 30% magic shield is equivalent to 44% magic shield.
so instead of being added, they are calculated as shown in above post.
Yes exactly. Note that if there was no resistance than it wouldn't matter whether you multiplied the damage by (1-0.44) or (1-0.2)(1-0.3) which are the exact same, however when there is resistance it is important to use the form (1-(0.44(0.66))) instead of (1-(0.2(0.66)))(1-(0.3(0.66))) which yield different results. I am not sure how to calculate it when you have magic resistance from arts as well, but my prediction would be that you multiply that as well and combine it.
So for example if we suppose you had 50% magic resistance from arts(just an easy number to work with), I suppose we have to first do this: (0.5)(0.8)(0.7)=0.28 and then multiply the damage with (1-(0.72(0.66))), or a total damage of:
(308)(0.82)(1-(0.72(0.66)))=132.543488 which seems logical. |
for Bheem:
You can also do it like post 15 if you really want, but my method is simpler imo.
First you have to take base damage multiplied by faction resistance.
So 308(0.82)=252.56
Then multiply by resistance, so 252.56*0.2=50.512, then you have to multiply that by 1-pierce, so 50.512(1-0.34)=33.33792 and then finally subtract this from the base damage times faction resistance value, so:
252.56-33.33792=219.22208
Mathematics is fun because there are many ways to get to the same answer, of course I knew this way will work to, but I felt my way was faster. |
this way will work to
too* |