User:Tagaziel/mathtests

Calculation
-

-

-
 * M72 vs. leather armor

-
 * M72 vs. combat armor

-
 * M72 vs. power armor

-
 * Rocket AP vs. power armor

Assumptions

 * Using 14mm pistol (Fallout 2)
 * 12-22 damage, using 10 for calc
 * 14mm ammo mods: 1/2 divisor, -50% DR
 * No perks

Damage computation
Summarized without counter: ND = net damage value RD = random damage value produced from weapons hit damage range RB = ranged bonus (RB=0 unless the player has Bonus Ranged Damage perk) CM = critical hit damage multiplier (if no critical hit then CM=2, otherwise assigned value from critical hit table) armorDR = armor damage resistance value armorDT = armor damage threshold value ammoX = ammo dividend ammoY = ammo divisor ammoDRM = ammo resistance modifier (only value allowed to be negative or positive in the equation) CD = combat difficulty multiplier MV = mystery value

armorDR+ammoDRM if armorDR+ammoDRM >= 0 then skip next step armorDR+ammoDRM=0 if armorDR+ammoDRM <= 100 then skip next step armorDR+ammoDRM=100 X*CM MV*Y ND=RD+RB ND=ND*(X*CM) if MV*Y <= 0 then skip next step ND=ND/(MV*Y) ND=ND/2 ND=ND*CD ND=ND/100 ND=ND-armorDT if ND <=0 then skip for no damage, repeat loop or exit N1=ND N2=ND*armorDR+ammoDRM N2=N2/100 ND=N1-N2 if ND <=0 then skip for no damage, repeat loop or exit TD=TD+ND http://www.nma-fallout.com/threads/f2-damage-calculation-change-a-fix-v3-by-my-count.200361/