From c5f8ac723ef20a1d1952c15fc33d76fc30a6ad0d Mon Sep 17 00:00:00 2001
From: Hale Cai <339726288@qq.com>
Date: 星期二, 12 十一月 2019 02:20:24 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.173on.com:10010/r/snxxz_scripts

---
 System/OpenServerActivity/BossFirstBloodModel.cs |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/System/OpenServerActivity/BossFirstBloodModel.cs b/System/OpenServerActivity/BossFirstBloodModel.cs
index 1ce9d0c..7ed91bb 100644
--- a/System/OpenServerActivity/BossFirstBloodModel.cs
+++ b/System/OpenServerActivity/BossFirstBloodModel.cs
@@ -63,8 +63,10 @@
             }
         }
 
+        
         public Int2 GetFirstNPCRedPoint()
         {
+            //鍏堟壘绾㈢偣锛屾病鏈夌孩鐐瑰垯鎵炬渶浣庣骇鏈濂栧姳鐨凚OSS
             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;
         }
 

--
Gitblit v1.8.0