attack logic runs but immediately goes to lose alert