Is there a way to modify the amount of damage taken by an enemy from an attack (say, inside the onDamage hook?). For instance, lets say I wanted an enemy that took an extra 50% damage from fire attacks. Or I wanted to implement a variant on the Goromorg shield without the advantage of having the hard-coded thing to work with.
A partial solution would be to use setHealth I guess, but then it doesn't display the right number to the player, which would be bad if you're trying to give the impression that some things are more or less effective than others. You could use damageTile, except then you'd have to restrict it to monsters that can't form squads. Champions have a 'damage' function, but I don't think monsters do...