Tíquete #47543

Sentry howitzer is not awaken by enemy units

: 2023-03-09 22:18 Última Atualização: 2023-03-11 23:12

Relator:
Dono:
(Nenhum)
Tipo:
Estado:
Aberto
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Nenhum
Arquivo:
1

Details

3.0.6 , ai=tex,classic

My howitzer is Sentry in a city

An enemy unit comes a 2 distance, in sight from the city, reachable by rails, but the Howitzer stay Sentry when i hope it will wake up.

City = Myequape

Ticket History (3/4 Histories)

2023-03-09 22:18 Updated by: alain_bkr
  • New Ticket "Sentry howitzer is not awaken by enemy units" created
2023-03-11 21:52 Updated by: cazfi
Comentário

Reply To alain_bkr

in sight from the city

Not sure if that's the cause here, but the code awakening sentried units seem to check that the unit to awaken ITSELF sees approaching enemy. Likely we should check if the owner (player) has the vision provided by any means.

2023-03-11 23:12 Updated by: None
Comentário

ok i understand now, it is a feature.

Like most units it has vision=sqrt(2)=1

I thought that inside city, all units had the city vision = 2 (or 3 with electricity), or at least get the bonus of one with electricity (idem for fortress)

Attachment File List

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login