Author | damage calculations |
Say, I have 20% magic shield(talent)+30%(brilliant unicorn)+15%(faction resist against wizard).
The wizard's hero spell book shows 100 damage using lightening.
If he cast the spell on brilliant unicorn, how much damage would they take?
I think 100-45=55
and due to faction res. final damage = 55(0.85)=46.75
Is that correct? |
correction:
100-50=50
and 50*0.85=42.5
right?
i.e. 43 or 42? |
100*0,8*0,7*0,85=47,6
I don't remember which way it's rounded. |
47 or 48 damage. Post 3 shows the correct way of calculating it. |
that means the game's program differentiates b/w resistance of talent and that of creature?
hmmm... IMO that is wrong. |
for Bheem:
What do you mean? In case you are talking about the order of calculation, it doesn't matter. This game does not differentiate between resistances like that. Only difference is that the talent resistance/barrier confers resistance against all kinds of harmful magic (chaos, debuffs). |
I am saying, it should be like this:
100*(1-(0.20+0.30))*.85=42.5
i.e. .2 and .3 add first and then used in formula. |
and add faction resistances to. |
for latviesu lords:
no it will not be added.
the faction resistance is applied on the final damage.
so 100*(1-(0.20+0.30)) is final damage and 0.85 multiplier is for fac. resis. |
100*(1-(0.20+0.30))*.85=42.5
I don't think it should be this way, because it could be very easy for someone to quite easily get a v. large resistance
So imagine large shield -50% ranges, bb cloak -25% ranged damage, avoidance talent (20%), applying evasion (40%) we would have
1*(1-(0.5+0.25+0.2+0.4)), which is a negative number. |
well in that case, let me add some more resistance to the unicorn who is facing the wizard.
unicorn has these: barrier+resistance(talents) and in addition to it has 3% magic resist from helmet,5% from armor,3% from boots,3% from shield and 20% from cloak,30% creature resistance,15% fsp resis..
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? |
Not got my calculator on me, but we are discussing method over actual numbers.
But yes, I'd rather have them multiply than additive because at least that way mage builds aren't totally screwed over. |
In such case suppose the wizard has 10%peirce to magic resistance, where and how would that be applied to the above formula? |
I suppose (not 100% sure) but it would just reduce one of the defences by 10%,
So for example, the 20% from cloak would become 10%. |
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 |
So for example, the 20% from cloak would become 10%.
lol nope.
for Bheem:
You are saying that the damage should be calculated like this
100*(1-(0.20+0.30))*.85=42.5
You mean to add all the resistances except if it is faction resistance? So a barrier+resistance should give 40%+30% protection? And then you want to calculate the faction resistance differently?
This isn't how it works. The combined resistance cannot be that high (it does not add regardless of where it comes from). You are differentiating between sources here not the game program.
Btw, for magic pierce, simply calculate the combined resistance and then magic pierce of the caster would come into effect, ignoring x% percentage of the combined resistance.
if combined resistance of the target is 50%, then your 10% pierce would let you deal the same damage that 45% resistance would result into. |
So a barrier + resistance + unicorn aura should give 40%+30% protection? And then you want to calculate the faction resistance differently? |
Resistance of arts is added instead of multiplied. Only the total resistance of arts is multiplied with the other resistances. You can see the total resistance of arts if you ctrl-click twice on the hero, together with other bonusses from arts.
So in your example formula would be:
100*0.8*0.8*0.66*0.7*0.85= 25.13
Not sure which shield and cloak would give so much magic resistance though. |
now that seems more correct.
I will leave the topic open for some modification.
Everyone is free to ask more question on the topic in this threat) |
Resistance of arts is added instead of multiplied.
Well that is clearly mentioned when you press ctrl + click on a character. The resistance adds up for artifacts. The total resistance is then multiplied with others sources. |