I need to know something about how the mechanics for Damage Resistance are calculated, specifically the order to which they are applied.
Basically, is Damage Mod applied before or after Damage Threshold?
It doesn't matter whether Damage Mod is applied before or after Damage Resistance, as x% of y*z is the same as (x% of y)*z, but the position of Damage Mod before or after Damage Threshold is crucial.
For example: lets say I have a gun that does exactly 100 points of damage per bullet (for argument's sake), that uses 10mm ammo. It's loaded with 10mm AP, which has a Damage Resistance modifier of -25%, and a Damage Mod of 1/2. I fire it at armour that has a Damage Threshold of 10%, and a Damage Resistance of 35, for a combined Damage Resistance (armour and ammo) of 10%
Does the bullet do [(Base Damage*Damage Mod)-Damage Threshold] - Damage Resistance = [(100*1/2)-10] - 10% = (50-10) - 10% = 40-10% = 36 points of damage or 36% of the weapon's damage output,
OR
does it do [(Base Damage-Damage Threshold) - Damage Resistance]*Damage Mod = [(100-10) - 10%]*1/2 = (90-10%)*1/2 = 81*1/2 = 40.5 points of damage or 40.5% of the weapon's damage output?
I ask this because I'm interested in writing a spreadsheet that allows you to calculate the average damage per hit for each type of ammo against each resistance level of armour, and I need to know the order of calculation to do this. Why? Simply to have a quick and easy way of calculating which type of ammo is actually better in a given situation, against any given armour.
Help would be much appreciated, and I will of course post a link to the spreadsheet once it's finished.
Cheers.
Basically, is Damage Mod applied before or after Damage Threshold?
It doesn't matter whether Damage Mod is applied before or after Damage Resistance, as x% of y*z is the same as (x% of y)*z, but the position of Damage Mod before or after Damage Threshold is crucial.
For example: lets say I have a gun that does exactly 100 points of damage per bullet (for argument's sake), that uses 10mm ammo. It's loaded with 10mm AP, which has a Damage Resistance modifier of -25%, and a Damage Mod of 1/2. I fire it at armour that has a Damage Threshold of 10%, and a Damage Resistance of 35, for a combined Damage Resistance (armour and ammo) of 10%
Does the bullet do [(Base Damage*Damage Mod)-Damage Threshold] - Damage Resistance = [(100*1/2)-10] - 10% = (50-10) - 10% = 40-10% = 36 points of damage or 36% of the weapon's damage output,
OR
does it do [(Base Damage-Damage Threshold) - Damage Resistance]*Damage Mod = [(100-10) - 10%]*1/2 = (90-10%)*1/2 = 81*1/2 = 40.5 points of damage or 40.5% of the weapon's damage output?
I ask this because I'm interested in writing a spreadsheet that allows you to calculate the average damage per hit for each type of ammo against each resistance level of armour, and I need to know the order of calculation to do this. Why? Simply to have a quick and easy way of calculating which type of ammo is actually better in a given situation, against any given armour.
Help would be much appreciated, and I will of course post a link to the spreadsheet once it's finished.
Cheers.