少年修仙传客户端代码仓库
client_Wu Xijin
2019-04-16 f34adc1afc7771602f14d6cd1182e7ca2244e0ce
Fight/Actor/AI/SampleAI.cs
@@ -5,6 +5,7 @@
{
    protected enum E_AIStatus
    {
        Idle,
        Patrol,// 巡逻
        MoveToTarget,// 向目标移动
        Attack,// 攻击
@@ -31,8 +32,6 @@
    {
        m_Owner = owner;
        BornPos = bornPosition;
        m_KeepBornDistSqrt = 5 * 5;
        // NPC类型的视野读取配置
        m_KeepBornDistSqrt = m_Owner.NpcConfig.Sight * .5f;