It appears that the API function for Damage does not make any allowances for resistances, and therefore my code must handle those itself.
So if I have a new acid weapon that inflicts 200 damage, I cannot call
Code: Select all
player.character.damage(200,"enemy","acid")
Is that right? Where can I get the resistances?