Just got on to test it.
Bot runs again, however, the timing on lighting the first two dynamites is off, resulting in damage every single time since the bot doesnt click to go to the 3rd spot quick enough. Camera angle doesnt seem to be the problem since it rotates properly, its just the click speed.
Edit: i think the problem is the bot is using right click to go evacuate the 3rd wall instead of a straight left click causing it to be too slow to get out of the blast
Edit again: after about 10-15 runs, i noticed sometimes the bot does just left click to the 3rd spot, when it left clicks, no damage is taken. So I think it would be best to remove the right click option to the 3rd spot.