From 1cf96b8df520c85e5fc0f2f1a4dca7dabdefdad9 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 04 七月 2023 17:10:36 +0800
Subject: [PATCH] 0312 装备评分
---
Core/GameEngine/Model/TelPartialConfig/tagEquipGSParamConfig.cs | 13 ++++++++++---
Core/GameEngine/Model/Config/EquipGSParamConfig.cs | 22 ++++++++++++++++++----
Core/GameEngine/Model/Config/EquipGSParamConfig.cs.meta | 3 +--
3 files changed, 29 insertions(+), 9 deletions(-)
diff --git a/Core/GameEngine/Model/Config/EquipGSParamConfig.cs b/Core/GameEngine/Model/Config/EquipGSParamConfig.cs
index 222432c..c360b30 100644
--- a/Core/GameEngine/Model/Config/EquipGSParamConfig.cs
+++ b/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;
diff --git a/Core/GameEngine/Model/Config/EquipGSParamConfig.cs.meta b/Core/GameEngine/Model/Config/EquipGSParamConfig.cs.meta
index f30f051..97e24c3 100644
--- a/Core/GameEngine/Model/Config/EquipGSParamConfig.cs.meta
+++ b/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
diff --git a/Core/GameEngine/Model/TelPartialConfig/tagEquipGSParamConfig.cs b/Core/GameEngine/Model/TelPartialConfig/tagEquipGSParamConfig.cs
index f2fcccf..8bc7bbd 100644
--- a/Core/GameEngine/Model/TelPartialConfig/tagEquipGSParamConfig.cs
+++ b/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);
--
Gitblit v1.8.0