I was think of something along the lines of:
Code: Select all
Damage "blah"
// Defines damage of type blah
// Anything with this flag deals this type of damage
// only one damage type per object
Immunity "blah"
// Object ignores damage of type blah
Also, it could be used to create a large set of monsters that cannot damage each other without having any inherited stuff.