From a075f7841fb2d0a3b32bf10c8bc2df5bf02d6acb Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 14 十二月 2025 14:24:28 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(贾诩所有技能;5022效果支持配置buff额外属性计算方式;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
index 500140b..afa61f1 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
@@ -215,6 +215,16 @@
         addMax += addCnt
     return addMax
 
+def GetTreeEnergyAdd(curPlayer):
+    ## 祝福树能量额外上限
+    addMax = 0
+    arenaCntDict = IpyGameDataPY.GetFuncEvalCfg("InvestPower", 4, {})
+    for investType, addCnt in arenaCntDict.items():
+        if not GetInvestState(curPlayer, int(investType)):
+            continue
+        addMax += addCnt
+    return addMax
+
 #// A5 41 领取投资理财回报 #tagCMGetInvestReward
 #
 #struct    tagCMGetInvestReward

--
Gitblit v1.8.0