Added a damage event handler