From d59558c04b788dc2a56ae4348f055030b49b23b7 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 18 七月 2019 17:30:32 +0800 Subject: [PATCH] 4546 【主干】灵宠获得活跃突破3000后再次获得会变重置成3000点 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py index f07a4a5..643f751 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActivity.py @@ -311,7 +311,10 @@ if isLVUp: updPoint = min(ChConfig.Def_UpperLimit_DWord, curPoint + addValue) else: - updPoint = min(IpyGameDataPY.GetFuncCfg('ImmortalDomainActivePoint'), curPoint + addValue) + maxPoint = IpyGameDataPY.GetFuncCfg('ImmortalDomainActivePoint', 1) + if maxPoint and curPoint >= maxPoint: + return + updPoint = curPoint + addValue __SetPDictValue(curPlayer, ChConfig.Def_PDict_ActivityCanCostTotalPoint, updPoint) return -- Gitblit v1.8.0