[GS] Hwatch AI bug.

bitula

King
Joined
Nov 15, 2010
Messages
659
Possible cause (sympton below the possible cause idea by Infixo):
Infixo said:
Could be also related to the fact that Hwacha is considered by AI as a siege unit but since it has 0 bombard strength then AI could calculate damage to be 0 and not use it. Or it is simply not selected for defense operations because siege units are optional for them.
I have a fix in Real Strategy that makes it a normal Ranged unit.
Code:
DELETE FROM UnitAiInfos WHERE UnitType = 'UNIT_KOREAN_HWACHA' AND (AiType = 'UNITTYPE_SIEGE' OR AiType = 'UNITTYPE_SIEGE_ALL');

Sympton (not using mods):

Yesterday, when I invaded Korea with chariots, archers, swordsmen, several Hwacha was defending. They did nothing so I just slowly took them out. I then thought it is probably a very week ancient era unit. More than 30 turns later I upgraded to crossbowman and after conquering the 5th city a lonely hwatcha decided to shoot, and uhnn..., what..., one-shot an almosst fully promoted crossbowman (then I read the civilopedia entry and got informed).This game made no sense, since she could have elminated my whole army long ago, so I just quit playing and started another game... All this fine on lower difficulties, but Deity????
 
Last edited:
Back
Top Bottom