.inflictDamage takes damage