Object Attributes, Resistances Rewrite

Updated the system of object attributes that includes example (not in
game) systems like socketed armor, inserted gems, weapon and armor
procs.

Also rewrote resistances to work on an active basis, recalculated every
time they're checked. No more resistance bugs.