From cda5ffad727e202510e3cd11017040f2488d6d34 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 09 二月 2023 17:55:13 +0800 Subject: [PATCH] 9762 【BT8】【后端】藏宝阁(9767 【BT8】新增古宝特效效果) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py index 45152c8..80618b9 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherSoul.py @@ -556,6 +556,16 @@ return +def GetGatherSoulTotalLV(curPlayer): + ## 聚魂累计总等级 + totalLV = 0 + GatherSoulUnlockDict = IpyGameDataPY.GetFuncEvalCfg("GatherSoulHole", 1, {}) + for holeNum in xrange(len(GatherSoulUnlockDict)): + GatherSoulData = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GatherSoulHoleData % holeNum, 0) + if not GatherSoulData: + continue + totalLV += ItemControler.GetGatherSoulItemPlusLV(GatherSoulData) + 1 + return totalLV def Sync_GatherSoulHoleInfo(curPlayer): ##通知聚魂孔信息 -- Gitblit v1.8.0