Changing ValueError for enemy attack