From a7ee20f2467c3d04d23ad80ebd25e07b806b5c22 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 03 十一月 2025 10:47:21 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(词条技能1021、1022、1024;增加触发方式25-受到持续伤害,26-敌方单位死亡时,27-己方单位死亡时;优化效果6008可配置免控类型;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossYaomoBoss.py | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossYaomoBoss.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossYaomoBoss.py
index db5c2f6..9392e52 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossYaomoBoss.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCrossYaomoBoss.py
@@ -16,7 +16,6 @@
#-------------------------------------------------------------------------------
import GameWorld
-import NPCHurtMgr
import PlayerControl
import IpyGameDataPY
import ItemControler
@@ -24,7 +23,6 @@
import ShareDefine
import ItemCommon
import ChConfig
-import PlayerGubao
def OnYaomoBossStateChange(state, tick):
## 活动状态变更
@@ -52,7 +50,7 @@
zoneID = ipyData.GetZoneID()
break
- npcHurtList = NPCHurtMgr.GetPlayerHurtList(curNPC)
+ npcHurtList = [] #NPCHurtMgr.GetPlayerHurtList(curNPC)
if not npcHurtList or not npcHurtList.GetHurtCount():
GameWorld.ErrLog("跨服妖魔boss结算无伤害列表: mapID=%s,lineID=%s,realMapID=%s,copyMapID=%s,zoneID=%s,npcID=%s,objID=%s"
% (mapID, lineID, realMapID, copyMapID, zoneID, npcID, objID))
@@ -107,7 +105,7 @@
## 参与击杀妖魔boss
if msgType == "KillYaomoBoss":
- PlayerGubao.AddGubaoItemEffValue(curPlayer, PlayerGubao.GubaoEffType_CrossYaomoBoss, 1)
+ pass
return
--
Gitblit v1.8.0