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/Config/EquipGSParamConfig.cs | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 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;
--
Gitblit v1.8.0