Towers' AI

Towers' AI

Hi guys,

I play DotA for quiet a moment now but i'm sometimes still confused about the towers' behavior. Using the search command on this forum i found a topic about it but the answers were not really clear. Here is a quote from the most intersting post:

Quote:

1) Unit (heros have higher priority) atacking Hero, with low HP, that are in low range from tower
2) Unit (heros have higher priority) atacking Hero, with low HP, that are in bigger range from tower
3) Unit (heros have higher priority) atacking Hero, with higher/full HP, that are in low range from tower
4) Unit (heros have higher priority) atacking Hero, with higher/full HP, that are in bigger range from tower
5) Goblin Land Mines
6) Units atacking the tower, that are in low range from tower (low HP)
7) Units atacking the tower, that are in bigger range from tower (low HP)
8) Units atacking a non-hero ally, that are in low range from tower (low HP)
9) Units atacking a non-hero ally, that are in bigger range from tower (low HP)
10) Extremly low HP unit "running around"
11) Venomancer Wards
12) Curent target of the tower
13) Units atacking the tower, that are in low range from tower (full/high HP)
14) Units atacking the tower, that are in bigger range from tower (full/high HP)
15) Units atacking a non-hero ally, that are in low range from tower (full/high HP)
16) Units atacking a non-hero ally, that are in bigger range from tower (full/high HP)
17) Siege weapons atacking the tower
18) Siege weapons atacking an ally (but normaly siege weapons atack only the tower if in tower range)
19) Summoned units atacking allys
20) other units

It seems to be the priority order of the next target.
First of all: Is this prioritiy list correct?

Then when exactly a Tower is looking for a new target?
From my experience i would say :
- when the tower has no more target (no one at range, or previous is dead)
- when a unit attacks an allied hero

I read in the same topic that their IA is refreshed every 7 seconds. Is it right?

Is there other cases where the tower can change its target? (for exemple when you're targeted and you attack one your allied creep, the tower change its target)

AFAIK hp percentages of creeps have no impact on targeting priority. When few Treants/Ghouls are attacking tower, it will randomly choose one of them as target no matter what their HP is.
Oddly enough, sometimes when mixed group of creeps (Treants + Druid for example) attack tower, tower sometimes (but rarely) can pick Druid as next target.

AFAIK hp percentages of creeps have no impact on targeting priority. When few Treants/Ghouls are attacking tower, it will randomly choose one of them as target no matter what their HP is.
Oddly enough, sometimes when mixed group of creeps (Treants + Druid for example) attack tower, tower sometimes (but rarely) can pick Druid as next target.

It will not acquire its target 'randomly', it will attack the creep which is closest. Given that there's no hero attacking it.