They dont switch. Im not sure how targeting works though. For pekka, once a tesla kills current target, it targets the pekka. For everything else, defense seems random although they love to target heroes.
But I do a lot of raiding with heroes, and if I push troops in front of them, they seem to be cool. Just trying to figure it out. Appreciate the reply.
Once a defense is locked onto a target its on it till its down. That's why golems are so effective. They'll distract every defense leaving the weaker wiz untouched.
Now if only troop ai worked similarly. I'm so sick of being locked onto the th only to be pulled off at the last possible second by some stupid skele or hero. It's so frustrating it's not funny
They attack the nearest target until it dies.
Defenses also change target to the nearest troop after being frozen.
Teslas attack P.E.K.K.A.s
IGN: Leryx Emberlaze | Status: Slightly Inactive (Attacks won/season = 20 to 60) Current stats as of April 6, 2015 (GMT+8): Started playing on Mar. 30, 2014, semi-quit on Sept. 18, 2014, and came back to the game on Nov. 2, 2014. Stopped actively farming starting April 6, 2015.-
lvl 133 | TH10 | 1.15 billion GG | 3.18m HH | 62 lavas, 188 legos | AQ 27, BK 20