Why doesn't the AI attack by melee units from inside the city? It looks like the AI thinks that the unit after the attack will be in the middle of the enemies, and not remain inside the city.
In this case, the city fired on the weakest spearman and the AI could well kill him with an additional attack. AI does not even attack catapults located close to walls, which will definitely fall apart from the slightest blow.
With various archers, skirmishers shoots without any difficulty.
Also, AI ignores water attacks if there is no corresponding upgrade. Even if he has 2-3 units floating and they are able to kill someone together.
In this case, the city fired on the weakest spearman and the AI could well kill him with an additional attack. AI does not even attack catapults located close to walls, which will definitely fall apart from the slightest blow.
With various archers, skirmishers shoots without any difficulty.
Also, AI ignores water attacks if there is no corresponding upgrade. Even if he has 2-3 units floating and they are able to kill someone together.