You can set the sample damage, type of damage, resistance effect of the player/entity, and the enchantment & level of the armor if it is wearing any.
All formulas from the minecraft wiki