From a9c572ad44c379e7b30460b9e7e1a19a12c2d4f6 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 21 十月 2024 11:44:03 +0800 Subject: [PATCH] 10281 【越南】【英语】【砍树】【tqxbqy】时装、坐骑幻化、称号新增纯战力 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py index b2d9218..bc73a86 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDienstgrad.py @@ -529,6 +529,7 @@ allAttrList = [{} for i in range(4)] allAttrListStar = [{} for _ in range(4)] + initFPAdd = 0 #初始战力 dienstgradManager = curPlayer.GetDienstgradManager() gradCnt = dienstgradManager.GetCount() for i in xrange(gradCnt): @@ -539,6 +540,7 @@ if curDienstgradData == None: continue + initFPAdd += curDienstgradData.GetInitFightPower() attrTypeList = curDienstgradData.GetLightType() attrValueList = curDienstgradData.GetLightAttribute() @@ -555,6 +557,7 @@ PlayerControl.CalcAttrDict_Type(attrID, attrValue, allAttrListStar) # 保存计算值 + curPlayer.SetDict(ChConfig.Def_PlayerKey_MFPEx % ShareDefine.Def_MFPType_Dienstgrad, initFPAdd) PlayerControl.SetCalcAttrListValue(curPlayer, ChConfig.Def_CalcAttrFunc_Dienstgrad, allAttrList) PlayerControl.SetCalcAttrListValue(curPlayer, ChConfig.Def_CalcAttrFunc_TitleStar, allAttrListStar) return -- Gitblit v1.8.0