Quellcode durchsuchen

【优化】单位死亡事件,屏蔽单位判断,交由游戏服判断单位

johnclot69 vor 1 Jahr
Ursprung
Commit
402a2e8ecc
1 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  1. 5 5
      XmdsServerCS/XmdsServerEdgeJS/Zone/XmdsZoneNode.cs

+ 5 - 5
XmdsServerCS/XmdsServerEdgeJS/Zone/XmdsZoneNode.cs

@@ -352,11 +352,11 @@ namespace XmdsServerEdgeJS.Zone
             {
                 atkAssistantList = (obj.Virtual as XmdsVirtual).mHateSystem.GetAtkAssistantList();
             }
-
-            if (type != 2 && playerIds.Count == 0 && (atkAssistantList == null || atkAssistantList.Count == 0))
-            {
-                return;
-            }
+            // log.Warn("单位死亡事件====unitTemplateId=" + tpID + ", type=" + type + ", 死亡了...");
+            // if (type != 2 && playerIds.Count == 0 && (atkAssistantList == null || atkAssistantList.Count == 0))
+            // {
+            //     return;
+            // }
 
             #endregion
             //log.Info("monster dead objId:" + obj.ID + "   templateId:" + tpID + " type " + type);