Talk:Damage Calculator/@comment-11753608-20130826145930

What we know about order of operations so far.

ROUNDDOWN(ROUNDDOWN(ROUNDDOWN(BaseDmg*BaseDmgMOD,0)*FactionMod,0)*Armor, 0)

AND

ROUNDDOWN(ROUND(ROUNDDOWN(ROUNDDOWN(BaseDmg*BaseDmgMOD,0)*ElemMOD, 0)*FactionMod,0)*Armor, 0)

Additionally, if outputs for an Infested Runner like this are true:


 * 20%Dmg + 5%Fact + 50%Freeze -- Actual: Head=31 & Body=15


 * 20%Dmg + 30%Fact + 10%Freeze --  Actual: Head=7 & Body=3

'''Then it is not possible for the BP MP to be with armor or beyond. ''' It either has to be with the faction mod or even before it. In fact, you can place the BP MP with the faction mod, with the elemental mod, or with the faction mod and come up with those results.

Other data provided for infested runner:

'''Putting the BP MP with the base damage returns a 26. So, BP MPS do not go with the base damage part.'''  However, placing it with the elemental or faction mod works.
 * 0%Dmg + 5%Fact + 50%Freeze  --   Actual: Head(FreezeDmg)=27

This would seem to confirm that BP do not go with the ElemMODs as that returns a 6.
 * 0%Dmg + 30%Fact + 10%Freeze --- Actual: Head(WeapDmg)=195 & Head(FreezeDmg)=7

This doesn't discriminate anything not already illuminted above.
 * 180%Dmg + 5%Fact + 0%Freeze Actual: Head(WeapDmg)=441

So, base on all these datapoints you have confirmed that the following works:

=ROUNDDOWN(ROUNDDOWN(ROUNDDOWN(BaseDmg * DmgMP, 0) * FactMP * BodyPartMP, 0) * Armor * TypeMP, 0)

=ROUNDDOWN(ROUNDDOWN(ROUND(ROUNDDOWN(BaseDmg * DmgMP, 0) * EleMP, 0) * FactMP * BodyPartMP, 0) * Armor * TypeMP, 0)

Here is my contention. I don't think the type and BP MPs are separated and we have no data above that shows the type MP to be with the Armor because armor was not included in the equation. And while the above tests told us a lot - particularly the placement of faction mods in relation to base and elemental damage, it leaves us with two more options that I think conform to the data we have.

=ROUNDDOWN(ROUNDDOWN(ROUNDDOWN(BaseDmg * DmgMP, 0) * FactMP * BodyPartMP * TypeMP, 0) * Armor, 0)

=ROUNDDOWN(ROUNDDOWN(ROUND(ROUNDDOWN(BaseDmg * DmgMP, 0) * EleMP, 0) * FactMP * BodyPartMP * TypeMP, 0) * Armor, 0)

And also putting the MPs by themselves with an entire addtional set of rounding before the FactionMOD works as well.

=ROUNDDOWN(ROUNDDOWN(ROUNDDOWN(ROUNDDOWN(BaseDmg * DmgMP, 0) * BodyPartMP * TypeMP, 0) * FactMP, 0) * Armor, 0)

=ROUNDDOWN(ROUNDDOWN(ROUNDDOWN(ROUND(ROUNDDOWN(BaseDmg * DmgMP, 0) * EleMP, 0) * BodyPartMP * TypeMP, 0) * FactMP, 0) * Armor, 0)