少年修仙传客户端代码仓库
client_Wu Xijin
2019-01-22 c249639c00811edb11d537d0dd55cf552cc5b2d0
Core/GameEngine/Model/Config/FightPowerParamConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Friday, June 01, 2018
//    [  Date ]:         Tuesday, January 22, 2019
//--------------------------------------------------------
using UnityEngine;
@@ -9,8 +9,8 @@
namespace TableConfig {
    
   public partial class FightPowerParamConfig : ConfigBase {
   public partial class FightPowerParamConfig : ConfigBase {
      public int LV { get ; private set ; }
      public int Hit { get ; private set ; }
      public int Miss { get ; private set ; }
@@ -31,15 +31,24 @@
      public int FaintDefRate { get ; private set ; }
      public int AtkSpeedParameter { get ; private set ; }
      public int LuckyHitParameter { get ; private set ; }
      public int SpeedPerParameter { get ; private set ; }
      public int AtkPerParameter { get ; private set ; }
      public int MaxHPPerParameter { get ; private set ; }
      public int JobAHurtAddPer { get ; private set ; }
      public int JobBHurtAddPer { get ; private set ; }
      public int JobCHurtAddPer { get ; private set ; }
      public int JobAAtkReducePer { get ; private set ; }
      public int JobBAtkReducePer { get ; private set ; }
      public int JobCAtkReducePer { get ; private set ; }
      public override string getKey()
        {
            return LV.ToString();
      public override string getKey()
        {
            return LV.ToString();
        }
      public override void Parse() {
         try
            {
         try
            {
                LV=IsNumeric(rawContents[0]) ? int.Parse(rawContents[0]):0; 
         
            Hit=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; 
@@ -79,10 +88,28 @@
            AtkSpeedParameter=IsNumeric(rawContents[18]) ? int.Parse(rawContents[18]):0; 
         
            LuckyHitParameter=IsNumeric(rawContents[19]) ? int.Parse(rawContents[19]):0; 
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            SpeedPerParameter=IsNumeric(rawContents[20]) ? int.Parse(rawContents[20]):0;
            AtkPerParameter=IsNumeric(rawContents[21]) ? int.Parse(rawContents[21]):0;
            MaxHPPerParameter=IsNumeric(rawContents[22]) ? int.Parse(rawContents[22]):0;
            JobAHurtAddPer=IsNumeric(rawContents[23]) ? int.Parse(rawContents[23]):0;
            JobBHurtAddPer=IsNumeric(rawContents[24]) ? int.Parse(rawContents[24]):0;
            JobCHurtAddPer=IsNumeric(rawContents[25]) ? int.Parse(rawContents[25]):0;
            JobAAtkReducePer=IsNumeric(rawContents[26]) ? int.Parse(rawContents[26]):0;
            JobBAtkReducePer=IsNumeric(rawContents[27]) ? int.Parse(rawContents[27]):0;
            JobCAtkReducePer=IsNumeric(rawContents[28]) ? int.Parse(rawContents[28]):0;
            }
            catch (Exception ex)
            {
                DebugEx.Log(ex);
            }
      }