少年修仙传客户端代码仓库
client_linchunjie
2019-05-07 c774b2266196fe17c7ef72abd6c6ebc1e047ffc3
3501 【2.0】【bug】查看玩家灵宠战斗力与玩家灵宠实际战斗力不符
1个文件已修改
5 ■■■■ 已修改文件
System/RoleParticulars/RoleParticularModel.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/RoleParticulars/RoleParticularModel.cs
@@ -539,7 +539,10 @@
            var petUpConfig = PetClassCostConfig.GetPetIdAndRank(id, lv);
            if (petUpConfig != null)
            {
                fightPower += Mathf.FloorToInt(petUpConfig.AtkAdd * 2.5f);
                Dictionary<int, int> propertyDict = new Dictionary<int, int>();
                propertyDict.Add(77, petUpConfig.AtkAdd);
                propertyDict.Add(78, petUpConfig.AtkAdd);
                fightPower += UIHelper.GetFightPower(propertyDict);// Mathf.FloorToInt(petUpConfig.AtkAdd * 2.5f);
            }
            for (int i = 0; i < skills.Count; i++)
            {