Talk:Enemy Vulnerabilities/@comment-70.170.31.191-20130712065020/@comment-11753608-20130714150941

To add one more layer of confusion:  Against medium Grineer with Lanka, no serration, and 15% hellfire, they were taking 250 electrical damage and only 15 fire damage.

The only way that I could come up with those numbers is this....

For the base electrical damage, the Lanka completely sidesteps the armor calculation, only being effected by the damage multiplier of 1.25. 200*1.25 = 50.  Great.

HOWEVER, when calculating the fire mod damage, the base electrical damage IS put through the armor mitigation, then given its own electrical modifier, then given the fire modifier. Thus, using a Lanka, to get the 15 fire damage the calculation is thus:

200 elec damage through armor calculation ((base elec damage+base elec damage*base damage mod)*(100/(100+((((current level-1)^1.4)*0.01*200)+200)))

For a level 1 mob that would be 66.

THEN, you put that through the elecrtical damage modifier first 1.25*66=82.5

LASTLY, you calculate the fire mod (15%) and multiplier (1.25). 82.5*.15*1.25= 15.47 rounded down to 15.

The full calculation then is this:

1.25*fire mod*(1.25*((base elec damage+base elec damage*base damage mod)*(100/(100+((((current level-1)^1.4)*0.01*200)+200))))

And this sucks balls because this means several things:

1.  Either U9 changed some of the armor ignore lists and pwnatron has not yet update his database OR U9 created some errors in the damage calculus.

2.  If U9 did make changes to the ignore lists and/modifiers, then we have to wait for pwnatron or some other altruistic soul to update this information because I have no idea how he did it.

3.  Regardless of the above 2 points, the full equations to account for every possible base damage type in a damage calculator like I am trying to make is going to be friggin HUGE and very easy to eff up. Basically everything after "1.25*fire mod*" is going to have to be put into brackets and then + the same equation for every possible base damage type meaning you would have like 8 equations of that length chained together for every individual elemental damage cell for every individual mob in the game...