if (M_Ent->Attacktype %10 != 8 &&
M_Ent->Attacktype %10 != 4
)
{ BOTATTACK=1; }
you will hit them every time. find Attack type and your game will improve 100%.. also funny when an autoblocker wonders wtf just happened and why his autoblock doesn't work on you.
as an added bonus
if ((Distance_LocalToEnt<=0.55f ))
{ BOTKICK=1; }
kicks them to death, a rather strange side effect is it will all ways keep rapidly kicking at a shield user , all you hear is the guy using the shield going ooo ahh uh uh ahh .. then they drop dead , not sure why it does this.. possibly another of the many bugs in the warband game engine.