Quote Originally Posted by Emperor Umeu 1
it always happens in sieges, but on the field it only happens when they ran out of ammo, or they've fired several vollies

Not true, rarely have they fired anything at all when they decide to rush the line. The AI seems to forget what its front line is for when it happens to have skirmishers there, and instead charges with them.