I just want to confirm another formula about the damage reduction (armor) and armor penetration of weapons:
Code:
damage_reduction = armor / 70 * 1/(1+0.15*(ship_size - 1));
if (damage_reduction > 75%) damage_reduction = 0.75 + 0.5*(armor / 70 * 1/(1+0.15*(ship_size - 1)) - 0.75);
damage_reduction = damage_reduction * (1-armor_penetration);
if (damage_reduction > 90%) damage_reduction = 0.9;
damage_to_armor = damage * damage_reduction;
damage_to_hull = damage * (1-damage_reduction);
or (in a more mathematical style):
damage_reduction = min(0.9, (1-armor_penetration)*min( armor / 70 * 1/(1+0.15*(ship_size - 1)) , 0.75 + 0.5*(armor / 70 * 1/(1+0.15*(ship_size - 1)) - 0.75) ) )
i have done some tests to figure out how damage reduction and armor penetration works in Leviathan, am i right?