When a character doesn't use a weapon the oponent can get stunned by this function
This places the oponent in a other relation group and when there are multiple oponents they can start attacking themself because of this stun. I don't think we want that now do we?
Code:
void LAi_SetStunnedType(aref chr)
{
chr.chr_ai.type = LAI_DEFAULT_TYPE;
LAi_type_Stunned_Init(chr);
LAi_group_MoveCharacter(chr, LAI_DEFAULT_GROUP);
}
This places the oponent in a other relation group and when there are multiple oponents they can start attacking themself because of this stun. I don't think we want that now do we?