From 75271d59ec27b370b0b0d76e8d7f03c436c96dbe Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 12 七月 2024 18:53:24 +0800 Subject: [PATCH] 10202 【越南】【香港】【主干】【砍树】聚魂(增加聚魂战令6; 增加战令GM命令: Zhanling) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherTheSoul.py | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherTheSoul.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherTheSoul.py index fe0f05a..4411e59 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherTheSoul.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGatherTheSoul.py @@ -169,6 +169,18 @@ RefreshGatherTheSoulAttr(curPlayer, True) return +def GetGatherTheSoulTotalLV(curPlayer): + totalSoulLV = 0 + ipyDataMgr = IpyGameDataPY.IPY_Data() + for index in range(ipyDataMgr.GetGatherTheSoulCount()): + ipyData = ipyDataMgr.GetGatherTheSoulByIndex(index) + soulID = ipyData.GetSoulID() + soulLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GatherTheSoulLV % soulID) + if not soulLV: + continue + totalSoulLV += soulLV + return totalSoulLV + def GetHoleSoulColorCount(curPlayer, soulColor, isDownward): ## 获取镶嵌聚魂品质个数 colorCount = 0 -- Gitblit v1.8.0