Calculate final damage using flat, percentage, or hyperbolic armor formulas with penetration, shred, resistance, minimum damage, and effective health.