From 09e416b2e9e97f4ac902bba159d9670ad066a8d5 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 09 一月 2026 20:51:01 +0800
Subject: [PATCH] 247 【付费内容】特权卡-服务端(增加游历体力上限特权)

---
 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 370e38a..6097a97 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
@@ -226,6 +226,16 @@
         addMax += addCnt
     return addMax
 
+def GetTravelEnergyAdd(curPlayer):
+    ## 游历体力增加上限
+    addMax = 0
+    addDict = IpyGameDataPY.GetFuncEvalCfg("InvestPower", 5, {})
+    for investType, addValue in addDict.items():
+        if not GetInvestState(curPlayer, int(investType)):
+            continue
+        addMax += addValue
+    return addMax
+
 #// A5 41 领取投资理财回报 #tagCMGetInvestReward
 #
 #struct    tagCMGetInvestReward

--
Gitblit v1.8.0