I made each damage type a category and then allowed for categorical DR.
Should have this and also individual damage type associations; we'd process this as foreach (dmgtype) { if dmgtype has specific association then use it, else use the relevant damage cat association } ).
Should give the possibility of weakness as well.
May also add a field for damage scaling like the one we have for anatomy units; makes sense that armor might directly reduce or increase damage rx regardless of type e.g. if it directs the impact poorly or is enchanted.