Still trying to fix the logic with the attacks