From c215892f0f794eb86a641e56a99d535faeab3a7f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 20 十一月 2025 18:49:05 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(赵云所有技能;增加效果5023 6019 6020;5011效果增加可验证战斗类型;5022效果支持多属性;战斗增减伤改名;增加触发方式28~39)

---
 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