From e6a20b55f44d8176be3d0d9afebcac7be406c079 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 23 五月 2022 17:00:36 +0800
Subject: [PATCH] 9415 【BT】【后端】古神战场(阵营buff对机器人有效; 修复黑夜降临掉血buff击杀对方时地图报错bug)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
index d0b1028..7efa827 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
@@ -2012,6 +2012,13 @@
         if not player:
             continue
         SkillShell.__DoLogic_AddBuff(curPlayer, player, buffSkill, False, tick, addForce=True)
+        
+    for robotID in factionObj.robotObjIDList:
+        robotNPC = GameWorld.GetObj(robotID, IPY_GameWorld.gotNPC)
+        if not robotNPC:
+            continue
+        SkillShell.__DoLogic_AddBuff(curPlayer, robotNPC, buffSkill, False, tick, addForce=True)
+        
     return
 
 def __OnCollectOK_EventWall(curPlayer, curNPC, tick):

--
Gitblit v1.8.0