You have to write code to do this sort of thing. Use the apply_special_item_discount() user exit. It's described in the help on my home page.