From c9e30763880e91d81c96e93f075b7b9d5f5a08a4 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 24 十一月 2021 18:28:17 +0800
Subject: [PATCH] 9341 【BT5】【主干】【后端】情缘系统(情缘副本同步怪物总波数)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Love.py | 3 ++-
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py | 1 +
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py
index 86f14e1..0dee6ae 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py
@@ -56,6 +56,7 @@
Help_lineID = 'lineID' #功能线路ID
Help_step = 'step' #当前副本步骤,从1开始,1~n
Help_wheel = 'wheel' #当前波数(关卡编号),从1开始,1~n
+Help_wheelTotal = 'wheelTotal' #总波数(关卡编号),从1开始,1~n
Help_npc = 'npc' #NPC已击杀个数 [{"NPCID":150,"killCnt":100}]
Help_npcTotal = 'npcTotal' #NPC总已击杀个数
Help_npcTotalNeed = 'npcTotalNeed' #NPC总需击杀个数
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Love.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Love.py
index 4641fdb..e77ce27 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Love.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_Love.py
@@ -136,7 +136,8 @@
wheelNum = gameFB.GetGameFBDictByKey(ChConfig.Map_TDNPC_RefreshBigWheelNum % rMark) + 1
#副本帮助(通知客户端显示)
- fbHelpDict = {FBCommon.Help_wheel:wheelNum}
+ wheelTotal = len(ReadChConfig.GetEvalChConfig('TD_%s_Cfg' % TDRefreshNPCFileNum))
+ fbHelpDict = {FBCommon.Help_wheel:wheelNum, FBCommon.Help_wheelTotal:wheelTotal}
GameWorld.DebugLog("DoFBHelp: %s" % fbHelpDict, curPlayer.GetPlayerID())
FBCommon.Notify_FBHelp(curPlayer, fbHelpDict)
return
--
Gitblit v1.8.0