ok so i will give you more input as I have 220 to kill :P
when dusk teleports you to the cage, the bot idles at the same spot until the cage disappears; this is only needed if the exit is near the wall. Maybe you can make the bot run outside and attack, would also save 5-10 seconds of fight...