adding AI improvment and fighting action