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/PlayerRune.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRune.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRune.py
index ce3dc08..284eb5e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRune.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRune.py
@@ -612,6 +612,16 @@
     PlayerControl.SetCalcAttrListValue(curPlayer, ChConfig.Def_CalcAttrFunc_Rune, allAttrList)
     return
 
+def GetRuneTotalLV(curPlayer):
+    ## 符印累计总等级
+    totalLV = 0
+    runeHoleCnt = IpyGameDataPY.GetFuncCfg("RuneUnlock", 4)
+    for holeNum in xrange(1, runeHoleCnt + 1):
+        runeData = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Rune_Data % holeNum, 0)
+        if not runeData:
+            continue
+        totalLV += ItemControler.GetRuneItemPlusLV(runeData) + 1
+    return totalLV
 
 
 ## 同步客户端

--
Gitblit v1.8.0