Added armour resistance compatibility.

Made the damage/viewer compatible with armour, so if a boss has armour
it now actually matters when they get damaged.
Improved the IsEntityAlive method to fix a bug where Corruption would
lose track of monsters.