Only tested this with the Bonewarmage caster pets in the darkness line of BD, but they stand there trying to continue to cast on keep doors when they could just go into melee and hit the keep doors. Possibly add something to check for this, you can manually maneuver the caster pets into melee range for using the "Here" command if you stand near the door and tell them to attack the door when close.