lcy
3 天以前 09bc892c7283df8757a07b646d5af21ddaa263d1
Main/Config/Configs/NPCConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           2025年10月17日
//    [  Date ]:           2025年10月24日
//--------------------------------------------------------
using System.Collections.Generic;
@@ -18,6 +18,7 @@
    public int NPCID;
   public string NPCName;
   public int RelatedHeroID;
   public int LV;
   public int SkinID;
   public float ModelScale;
@@ -37,13 +38,15 @@
         NPCName = tables[1];
         int.TryParse(tables[2],out LV);
         int.TryParse(tables[2],out RelatedHeroID);
         int.TryParse(tables[3],out SkinID);
         int.TryParse(tables[3],out LV);
         float.TryParse(tables[4],out ModelScale);
         int.TryParse(tables[4],out SkinID);
         int.TryParse(tables[5],out LifeBarCount);
         float.TryParse(tables[5],out ModelScale);
         int.TryParse(tables[6],out LifeBarCount);
        }
        catch (Exception exception)
        {