resolve retreats and attacks