modify attack target select logic.