Modify so the attack now will have effect on character, but when the player is defeated, the game will crash