You can set multiple keys to activate or deactivate depending on fight result, for both won but also lost fights, in any combination. It also allows message to be displayed before the fight. With this a25 action, you could set any kind of npc fight previously done in flash, an new ones of much higher complexity. You could also chain fights and require some to be lost and some to be won, and adjust final reward or activate clickies based on these results. Details in the docs, action name : npcfight.
CODENAME: AUTUMN2050