public virtual void Init(BaseObject obj = null, int nAi_Id = Define.AI_TYPE_MELEE) { TargetObj = null; SelObj = obj; nState = STATE_IDLE; mnLastAttackTick = System.Environment.TickCount; mnLastMoveTick = mnLastAttackTick; findlist = null; mAiInfo = ConfigManager.Instance().GetAIInfo(nAi_Id); mnActiveAttackTick = System.Environment.TickCount; }