The amount of damage the armor takes is determined with the following formula:

Damage percentage of the armor = ([DamageDealt]*([TraitLevel]/2))%