Coffer Corpse Weapon Immunities
Is it possible to code the coffer corpse's immunities into an NPC? The immunities are: Magical weapons inflict damage on a coffer corpse depending on their type: Bludgeoning weapons (B) inflict full damage. Slashing weapons (S) inflict normal damage, but gain no damage bonuses for Strength or enchantment. Piercing weapons (P) inflict half normal damage, and do not gain magical or Strength bonuses.
Is that something that can be coded in or should it just be handled manually? If it can be coded in does anyone have any idea of what it would look like?