spearwall halberdiers are useless when used by ai as the ai army leaves them behind and its army gets seperated and easily defeated.

this is a bug.

the only fix can only come by speeding up marching speed of halberdiers.