Why did the hog riders follow this path?

Why did the hog riders follow this path? - Brown Wooden Arrow Signed

Considering a situation like this:

enter image description here

You would think that they would go towards the cannon first, since it's the shortest path there.

Instead apparently they went for the archer tower:

enter image description here

Why is that?



Best Answer

Why did my hogs target the archer tower instead of the cannon, which was obviously closer?

This is because the troop's targeting AI has a spec of "random" (actually determined by the attack's timestamp) placed into it.

What this does is that if there are two targets, of similar distance, as you've shown there, the troop may pick one over the other.

You can see this visible, if you were to extract a replay, change its timestamp and play it. This time, you'll see a different outcome as all a replay does is store the times which troop is deployed and not their full path.


Another comment to it: You may have calculated the path to the cannon incorrectly; it's a tiny bit closer than you think.




Pictures about "Why did the hog riders follow this path?"

Why did the hog riders follow this path? - Pensive little girl holding hand of mother in field
Why did the hog riders follow this path? - Man Riding Bicycle on Off-road
Why did the hog riders follow this path? - Men Riding Motorcycles



What do Hog Riders target?

Hog Riders prioritize defensive structures above all other targets, and will bypass all other types of enemy buildings and troops while any defenses remain on the battlefield. This is true even if they are under attack by enemy Clan Castle troops, heroes or Skeleton Trap skeletons.

Is Hog Rider a girl?

The Hog Rider card is unlocked from the Spell Valley (Arena 5). He is a quick building-targeting, melee troop with moderately high hitpoints and damage. He appears just like his Clash of Clans counterpart; a man with brown eyebrows, a beard, a mohawk, and a golden body piercing in his left ear who is riding a hog.

What is a Hog Rider?

: a driver of an automotive vehicle who obstructs others especially by occupying part of another's traffic lane.



Clash of Clans: Ride of the Hog Riders (Official TV Commercial)




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Jens Johnsson, Kseniya Mazaeva, Mike, Roberto Nickson