Only heal player if entity takes damage

Typically secondary effects only occur when an entity is actually damaged; this will also prevent players from exploiting the leech / heal effect on invulnerable entities, if those exist