updated for character die and attack