少年修仙传客户端代码仓库
client_Wu Xijin
2019-06-27 824dfbc49e8e594ec9883c355b6186b9388ec8b6
7585 【前端】【主干】神兽装备评分
3个文件已修改
18 ■■■■■ 已修改文件
Core/GameEngine/Model/Config/EquipGSParamConfig.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/EquipGSParamConfig.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/TelPartialConfig/tagEquipGSParamConfig.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/EquipGSParamConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           Fish
//    [  Date ]:           Wednesday, June 26, 2019
//    [  Date ]:           Thursday, June 27, 2019
//--------------------------------------------------------
using System.Collections.Generic;
@@ -29,6 +29,7 @@
    public readonly int PerLVMaxHPC;
    public readonly int DropMoneyPerC;
    public readonly int SuperHitReduceC;
    public readonly int SuperHitRateReduceC;
    public readonly int HitC;
    public readonly int MissC;
    public readonly int PetDamPerC;
@@ -75,11 +76,13 @@
            int.TryParse(tables[15],out SuperHitReduceC); 
            int.TryParse(tables[16],out HitC);
            int.TryParse(tables[16],out SuperHitRateReduceC);
            int.TryParse(tables[17],out MissC);
            int.TryParse(tables[17],out HitC);
            int.TryParse(tables[18],out PetDamPerC);
            int.TryParse(tables[18],out MissC);
            int.TryParse(tables[19],out PetDamPerC);
        }
        catch (Exception ex)
        {
Core/GameEngine/Model/Config/EquipGSParamConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: b14139202185e114e8c1b11ee6917430
timeCreated: 1561544279
timeCreated: 1561602229
licenseType: Pro
MonoImporter:
  serializedVersion: 2
Core/GameEngine/Model/TelPartialConfig/tagEquipGSParamConfig.cs
@@ -8,7 +8,7 @@
    public void OnConfigParseCompleted()
    {
        string key = StringUtility.Contact(EquipClass, EquipColor, IsSuit ,Star);
        string key = StringUtility.Contact(EquipClass, EquipColor, IsSuit, Star);
        s_tagGSModelDict.Add(key, this);
    }
@@ -23,7 +23,7 @@
    public static Dictionary<PropertyType, int> GetTagGsProValueDict(int lv, int color, int isSuit, int star)
    {
        _tagGsProValueDict.Clear();
        EquipGSParamConfig gsModel = GetGSModel(lv, color, isSuit , star);
        EquipGSParamConfig gsModel = GetGSModel(lv, color, isSuit, star);
        if (gsModel == null)
            return null;
@@ -41,6 +41,7 @@
        _tagGsProValueDict.Add(PropertyType.HeartResis, gsModel.LuckyHitRateReduceC);
        _tagGsProValueDict.Add(PropertyType.CritHurt, gsModel.SuperHitC);
        _tagGsProValueDict.Add(PropertyType.PetAddHurt, gsModel.PetDamPerC);
        _tagGsProValueDict.Add(PropertyType.ReduceCrit, gsModel.SuperHitRateReduceC);
        return _tagGsProValueDict;
    }
}