Пример #1
0
        public override bool Proc(EntityParent theOwner)
        {
            //Mogo.Util.LoggerHelper.Debug("AI:" + "LookOn");

            theOwner.blackBoard.LookOn_DistanceMax = m_DistanceMax*0.01f;
            theOwner.blackBoard.LookOn_DistanceMin = m_DistanceMin*0.01f;

            for (int i = 0; i < m_ModePercent.Length; i++)
            {
                theOwner.blackBoard.LookOn_ModePercent[i] = m_ModePercent[i];
            }

            for (int i = 0; i < m_ModeInterval.Length; i++)
            {
                theOwner.blackBoard.LookOn_ModeInterval[i] = m_ModeInterval[i]*0.001f;
            }

            theOwner.blackBoard.LookOn_Mode5Skill = m_Mode5Skill;

            theOwner.ProcLookOn();

            return true;
        }