From 5f3b500dd8efc188323d6e6ec2a74857e82142c8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 10 二月 2026 19:50:38 +0800
Subject: [PATCH] 1111 【后台】 扣除玩家物品、扣除玩家货币命令支持;

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTravel.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTravel.py
index 6275bc3..a3732ef 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTravel.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTravel.py
@@ -19,6 +19,7 @@
 import PlayerControl
 import IpyGameDataPY
 import ChPyNetSendPack
+import PlayerGoldInvest
 import NetPackCommon
 import ItemControler
 import PlayerBeauty
@@ -169,6 +170,7 @@
 def GetTravelEnergyMax(curPlayer):
     initEnergy = IpyGameDataPY.GetFuncCfg("TravelSet", 1)
     addEnergy = PlayerBeauty.GetBeautyEffInfo(curPlayer, PlayerBeauty.EffType_TravelEnergy)[0]
+    addEnergy += PlayerGoldInvest.GetTravelEnergyAdd(curPlayer)
     return initEnergy + addEnergy
 
 def CheckTravelEnergyRecover(curPlayer, isNotify=True):

--
Gitblit v1.8.0