少年修仙传客户端代码仓库
hch
2023-07-04 1cf96b8df520c85e5fc0f2f1a4dca7dabdefdad9
0312 装备评分
3个文件已修改
38 ■■■■■ 已修改文件
Core/GameEngine/Model/Config/EquipGSParamConfig.cs 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/EquipGSParamConfig.cs.meta 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/TelPartialConfig/tagEquipGSParamConfig.cs 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/EquipGSParamConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           Fish
//    [  Date ]:           Tuesday, November 12, 2019
//    [  Date ]:           2023年7月4日
//--------------------------------------------------------
using System.Collections.Generic;
@@ -8,7 +8,6 @@
using System.Threading;
using System;
using UnityEngine;
public partial class EquipGSParamConfig
{
@@ -55,6 +54,11 @@
    public readonly int LuckyHitPerC;
    public readonly int FaintDefRateC;
    public readonly int SuperHitRateC;
    public readonly int IgnoreDefRateC;
    public readonly int IgnoreDefRateReduceC;
    public readonly int ProDefPerC;
    public readonly int FinalHurtPerC;
    public readonly int FinalHurtReducePerC;
    public EquipGSParamConfig()
    {
@@ -149,6 +153,16 @@
            int.TryParse(tables[40],out FaintDefRateC); 
            int.TryParse(tables[41],out SuperHitRateC); 
            int.TryParse(tables[42],out IgnoreDefRateC);
            int.TryParse(tables[43],out IgnoreDefRateReduceC);
            int.TryParse(tables[44],out ProDefPerC);
            int.TryParse(tables[45],out FinalHurtPerC);
            int.TryParse(tables[46],out FinalHurtReducePerC);
        }
        catch (Exception ex)
        {
@@ -199,9 +213,9 @@
        values.AddRange(configs.Values);
        var keys = new List<string>(rawDatas.Keys);
        foreach (var key in keys)
        for (int i = 0; i < keys.Count; i++)
        {
            values.Add(Get(key));
            values.Add(Get(keys[i]));
        }
        return values;
Core/GameEngine/Model/Config/EquipGSParamConfig.cs.meta
@@ -1,8 +1,7 @@
fileFormatVersion: 2
guid: b14139202185e114e8c1b11ee6917430
timeCreated: 1573548929
licenseType: Pro
MonoImporter:
  externalObjects: {}
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
Core/GameEngine/Model/TelPartialConfig/tagEquipGSParamConfig.cs
@@ -43,6 +43,11 @@
        _tagGsProValueDict.Add(PropertyType.PetAddHurt, gsModel.PetDamPerC);
        _tagGsProValueDict.Add(PropertyType.ReduceCrit, gsModel.SuperHitRateReduceC);
        _tagGsProValueDict.Add(PropertyType.HpPercent, gsModel.MaxHPPerC);
        _tagGsProValueDict.Add(PropertyType.AtkPercent, gsModel.AtkPerC);
        _tagGsProValueDict.Add(PropertyType.SkillHurt, gsModel.SkillAtkRateC);
        _tagGsProValueDict.Add(PropertyType.ReduceSkillHurtPercent, gsModel.SkillAtkRateReduceC);
        _tagGsProValueDict.Add(PropertyType.SkillAddPerA, gsModel.SkillAddPerAC);
        _tagGsProValueDict.Add(PropertyType.SkillAddPerB, gsModel.SkillAddPerBC);
        _tagGsProValueDict.Add(PropertyType.SkillAddPerC, gsModel.SkillAddPerCC);
@@ -61,10 +66,12 @@
        _tagGsProValueDict.Add(PropertyType.AddHeartHurtPer, gsModel.LuckyHitPerC);
        _tagGsProValueDict.Add(PropertyType.CtrlResis, gsModel.FaintDefRateC);
        _tagGsProValueDict.Add(PropertyType.CritChance, gsModel.SuperHitRateC);
        _tagGsProValueDict.Add(PropertyType.DefyDef, gsModel.IgnoreDefRateC);
        _tagGsProValueDict.Add(PropertyType.DefyDefResis, gsModel.IgnoreDefRateReduceC);
        _tagGsProValueDict.Add(PropertyType.ProDefHPPer, gsModel.ProDefPerC);
        _tagGsProValueDict.Add(PropertyType.AddFinalHurtPer, gsModel.FinalHurtPerC);
        _tagGsProValueDict.Add(PropertyType.ReduceFinalHurtPer, gsModel.FinalHurtReducePerC);