From 033a680f4c973fbac074a95152c6d313d4a71091 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 12 六月 2019 17:12:39 +0800
Subject: [PATCH] 7220 【后端】【2.0】灵器开发1.0版(增加灵器属性表,灵器战力由评分计算,评分由基础属性+灵器属性组成,原翅膀模块改为灵器模块)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 9f78673..d33b761 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -4057,7 +4057,7 @@
                 PlayerGreatMaster.Sync_GreatMasterFreeSkillPoint(curPlayer)
             # 升级需要执行的游戏功能处理
             GameFuncComm.DoFuncOpenLogic(curPlayer)
-            #ChEquip.CalcEquips_OutOfPrint(curPlayer)    # 缓存绝版属性
+            ChEquip.RefreshPlayerLingQiEquipAttr(curPlayer) # 灵器属性会随等级成长
             if aftLV%10 == 0:
                 # 控制下刷新次数
                 PlayerPet.CalcPetItemAddPlayerAttr(curPlayer)   # 宠物有随等级变化的技能
@@ -4247,7 +4247,6 @@
         ChEquip.RefreshPlayerEquipAttribute(curPlayer)
         ChEquip.RefreshPlayerLingQiEquipAttr(curPlayer)
         #SkillShell.RefreshPlayerBuffOnAttrAddEffect(curPlayer)
-        #PlayerWing.CalcWingAttr(curPlayer) # 翅膀暂时算在灵器里面
         PlayerHorse.CalcHorseAttrEx(curPlayer)
         PlayerPrestigeSys.CalcOfficialRankAttr(curPlayer)
         PlayerGodWeapon.CalcGodWeaponAttr(curPlayer)
@@ -4464,7 +4463,6 @@
                            ChConfig.TYPE_Calc_StoneBasePer:funcAttrInfoList[ChConfig.Def_CalcAttrFunc_Stone],
                            ChConfig.TYPE_Calc_RealmBasePer:funcAttrInfoList[ChConfig.Def_CalcAttrFunc_Prestige],
                            ChConfig.TYPE_Calc_HorseAtkPer:funcAttrInfoList[ChConfig.Def_CalcAttrFunc_Horse],
-                           ChConfig.TYPE_Calc_WingHPPer:funcAttrInfoList[ChConfig.Def_CalcAttrFunc_Wing],
                            }
         #    3.2 统计各功能之间非线性属性交叉影响累加
         funcCrossAttrPerInfoDict = {} # 百分比交叉影响所提升的属性值 {功能属性编号:{提升的属性类型:数值, ...}, ...}
@@ -4500,7 +4498,7 @@
         #    3.3 统计所有功能固定属性影响累加
         allFixAttrDict = {} # 固定属性层级总属性基值
         for funcIndex, funcAttrList in enumerate(funcAttrInfoList):
-            # 技能模块不算计入功能固定属性、不计战力
+            # 技能模块不计入功能固定属性、不计战力
             if funcIndex in ChConfig.CalcAttrFuncSkillList:
                 continue
             AddAttrDictValue(allFixAttrDict, funcAttrList[ChConfig.CalcAttr_Battle])
@@ -4532,7 +4530,7 @@
             mfpAttrExDict = {}
             for funcIndex in attrFuncIndexList:
                 if funcIndex in ChConfig.CalcAttrFuncSkillList:
-                    # 技能模块不算计入功能固定属性、不计战力
+                    # 技能模块不计入功能固定属性、不计战力
                     continue
                 funcAttrList = funcAttrInfoList[funcIndex]
                 funcInsidePerAttrDict = funcInsidePerAttrList[funcIndex] # 功能点内部百分比加成属性

--
Gitblit v1.8.0