I finally beat Challenge 4 after 6 months. My tip is to control both bots yourself. Let the Shield be just in range of the dragon and the Sword be twice as far. This way the dragon will attack the shield while your Sword remains in range to attack. Following = BAD