From 5c25079ad8dd81918884af74536be14b6e330f93 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 21 十月 2024 11:30:50 +0800
Subject: [PATCH] 10281 【越南】【英语】【砍树】【tqxbqy】时装、坐骑幻化、称号新增纯战力

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py
index 2cfa3b2..e068582 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py
@@ -170,6 +170,7 @@
 #  @param allAttrList 属性列表
 #  @return None
 def CalcClothesCoatSkinAttr(curPlayer):
+    initFPAdd = 0 #初始战力
     allAttrList = [{} for _ in range(4)]
     ipyMgr = IpyGameDataPY.IPY_Data()
     for i in xrange(ipyMgr.GetCoatCount()):
@@ -178,6 +179,7 @@
         skinLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ClothesSkinLV % coatID)
         if not skinLV:
             continue
+        initFPAdd += ipyData.GetInitFightPower()
         starAttrDict = ipyData.GetStarAttr()
         if str(skinLV) not in starAttrDict:
             continue
@@ -191,6 +193,7 @@
             PlayerControl.CalcAttrDict_Type(int(attrID), attrValue, allAttrList)
     
     # 保存计算值
+    curPlayer.SetDict(ChConfig.Def_PlayerKey_MFPEx % ShareDefine.Def_MFPType_Coat, initFPAdd)
     PlayerControl.SetCalcAttrListValue(curPlayer, ChConfig.Def_CalcAttrFunc_Coat, allAttrList)
     return
 

--
Gitblit v1.8.0