少年修仙传客户端代码仓库
System/OpenServerActivity/BossFirstBloodModel.cs
@@ -63,8 +63,10 @@
            }
        }
        public Int2 GetFirstNPCRedPoint()
        {
            //先找红点,没有红点则找最低级未领奖励的BOSS
            Int2 npcinfo = Int2.zero;
            int i = 0;
            foreach (var key in npcIDConfig)
@@ -79,6 +81,19 @@
                }
                i++;
            }
            i = 0;
            foreach (var key in npcIDConfig)
            {
                var npcID = int.Parse(key);
                var state = GetPersonalKillAwardState(npcID);
                if (GetPersonalKillAwardState(npcID) != 2)
                {
                    npcinfo.x = i;
                    npcinfo.y = npcID;
                    return npcinfo;
                }
                i++;
            }
            return npcinfo;
        }