Make "on attack" not get triggered again when the entity is dead.