Browse Source

Merge branch 'master' of http://192.168.123.2:3000/ck/XiuXianGame

# Conflicts:
#	Excel2Json/Excel/修仙游戏数据规划表.xlsx   resolved by master version
#	UserSettings/Layouts/default-2022.dwlt   resolved by master version
zg 3 weeks ago
parent
commit
ea71502a54

+ 31 - 31
Assets/Res/Config/SkillConfig.json

@@ -193,7 +193,7 @@
       "level": 1,
       "effectValue": [
         6.0,
-        90.0
+        50.0
       ],
       "intensifierIndex": [
         2
@@ -216,7 +216,7 @@
       "level": 2,
       "effectValue": [
         6.0,
-        90.0,
+        60.0,
         15.0
       ],
       "intensifierIndex": [
@@ -243,7 +243,7 @@
       "level": 3,
       "effectValue": [
         6.0,
-        90.0,
+        70.0,
         15.0
       ],
       "intensifierIndex": [
@@ -273,7 +273,7 @@
       "level": 4,
       "effectValue": [
         6.0,
-        90.0,
+        80.0,
         15.0
       ],
       "intensifierIndex": [
@@ -336,7 +336,7 @@
       "level": 6,
       "effectValue": [
         6.0,
-        90.0,
+        100.0,
         15.0,
         100.0,
         30.0
@@ -739,7 +739,7 @@
       "level": 1,
       "effectValue": [
         3.0,
-        120.0,
+        90.0,
         30.0
       ],
       "intensifierIndex": [
@@ -763,7 +763,7 @@
       "level": 2,
       "effectValue": [
         3.0,
-        120.0,
+        90.0,
         30.0
       ],
       "intensifierIndex": [
@@ -797,7 +797,7 @@
       "level": 3,
       "effectValue": [
         4.0,
-        120.0,
+        90.0,
         30.0
       ],
       "intensifierIndex": [
@@ -834,7 +834,7 @@
       "level": 4,
       "effectValue": [
         4.0,
-        120.0,
+        90.0,
         30.0
       ],
       "intensifierIndex": [
@@ -868,7 +868,7 @@
       "level": 5,
       "effectValue": [
         5.0,
-        120.0,
+        90.0,
         30.0
       ],
       "intensifierIndex": [
@@ -905,7 +905,7 @@
       "level": 6,
       "effectValue": [
         5.0,
-        120.0,
+        90.0,
         30.0
       ],
       "intensifierIndex": [
@@ -2965,7 +2965,7 @@
       "effectValue": [
         3.0,
         70.0,
-        20.0
+        60.0
       ],
       "intensifierIndex": [
         2
@@ -2988,8 +2988,8 @@
       "level": 2,
       "effectValue": [
         3.0,
-        70.0,
-        20.0
+        80.0,
+        60.0
       ],
       "intensifierIndex": [
         2
@@ -3022,8 +3022,8 @@
       "level": 3,
       "effectValue": [
         4.0,
-        70.0,
-        20.0
+        80.0,
+        60.0
       ],
       "intensifierIndex": [
         2
@@ -3059,8 +3059,8 @@
       "level": 4,
       "effectValue": [
         4.0,
-        70.0,
-        20.0
+        80.0,
+        60.0
       ],
       "intensifierIndex": [
         2
@@ -3093,8 +3093,8 @@
       "level": 5,
       "effectValue": [
         5.0,
-        70.0,
-        20.0
+        80.0,
+        60.0
       ],
       "intensifierIndex": [
         2
@@ -3131,7 +3131,7 @@
       "effectValue": [
         5.0,
         100.0,
-        20.0
+        60.0
       ],
       "intensifierIndex": [
         2
@@ -7044,7 +7044,7 @@
     {
       "ID": 90010,
       "PieceID": null,
-      "power": 100.0,
+      "power": 300.0,
       "name": 707,
       "dec": 717,
       "attribute": 1,
@@ -7052,7 +7052,7 @@
       "scriptName": "S9001",
       "IDGroup": 9001,
       "timelineName": "BossSk1_timeline_TD",
-      "cd": 6.0,
+      "cd": 2.0,
       "SkillType": 1,
       "level": 1,
       "effectValue": [
@@ -7065,7 +7065,7 @@
         20.0
       ],
       "intensifierIndex": [
-        0
+        1
       ],
       "PromoteLan": null
     },
@@ -7080,7 +7080,7 @@
       "scriptName": "S9002",
       "IDGroup": 9002,
       "timelineName": "BossSk2_timeline_TD",
-      "cd": 3.0,
+      "cd": 2.0,
       "SkillType": 1,
       "level": 1,
       "effectValue": [
@@ -7088,7 +7088,7 @@
         60.0
       ],
       "intensifierIndex": [
-        0
+        1
       ],
       "PromoteLan": null
     },
@@ -7110,14 +7110,14 @@
         1.0
       ],
       "intensifierIndex": [
-        0
+        1
       ],
       "PromoteLan": null
     },
     {
       "ID": 90040,
       "PieceID": null,
-      "power": 100.0,
+      "power": 300.0,
       "name": 710,
       "dec": 720,
       "attribute": 1,
@@ -7132,14 +7132,14 @@
         100.0
       ],
       "intensifierIndex": [
-        0
+        1
       ],
       "PromoteLan": null
     },
     {
       "ID": 90050,
       "PieceID": null,
-      "power": 110.0,
+      "power": 300.0,
       "name": 711,
       "dec": 721,
       "attribute": 1,
@@ -7154,7 +7154,7 @@
         100.0
       ],
       "intensifierIndex": [
-        0
+        1
       ],
       "PromoteLan": null
     }

+ 49 - 5
Assets/Scenes/testCombat.scene

@@ -2198,11 +2198,35 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: myHeroInfo.Array.data[0].hp
-      value: 40000
+      value: 46090
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].mu
+      value: 10
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].tu
+      value: 5
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: myHeroInfo.Array.data[0].att
-      value: 400
+      value: 1713
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].def
+      value: 933
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].huo
+      value: 10
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].jing
+      value: 5
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].shui
+      value: 5
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: enemyHeroInfo.Array.data[0].hp
@@ -2210,7 +2234,7 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: myHeroInfo.Array.data[0].level
-      value: 90
+      value: 120
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: enemyHeroInfo.Array.data[0].att
@@ -2218,12 +2242,20 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: enemyHeroInfo.Array.data[0].level
-      value: 90
+      value: 120
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: enemyHeroInfo.Array.data[0].heroID
       value: 9201
       objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].skillLevel
+      value: 23
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].skillStart
+      value: 3
+      objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: myHeroInfo.Array.data[0].skill.Array.size
       value: 0
@@ -2242,7 +2274,7 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: myHeroInfo.Array.data[0].magicWeaponId.Array.size
-      value: 0
+      value: 4
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: enemyHeroInfo.Array.data[0].magicWeaponId.Array.size
@@ -2250,6 +2282,18 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
       propertyPath: myHeroInfo.Array.data[0].magicWeaponId.Array.data[0]
+      value: 10010
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].magicWeaponId.Array.data[1]
+      value: 10001
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].magicWeaponId.Array.data[2]
+      value: 10004
+      objectReference: {fileID: 0}
+    - target: {fileID: 6090200664286961698, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}
+      propertyPath: myHeroInfo.Array.data[0].magicWeaponId.Array.data[3]
       value: 10008
       objectReference: {fileID: 0}
     - target: {fileID: 9214784224709271120, guid: 1076536f8fdf47942aa287592c6a8b19, type: 3}

+ 16 - 1
Assets/Scripts/GameLogic/Combat/Buff/b_1005.cs

@@ -6,7 +6,7 @@ using GameLogic.Player;
 namespace GameLogic.Combat.Buff
 {
     /// <summary>
-    /// 灼热:每秒对敌人照成火属性灼烧伤害
+    /// 灼热:每秒对敌人照成火属性灼烧伤害,满层后敌人获得灼痛,有灼痛时不在获得
     /// </summary>
     public class b_1005 : BuffBasic
     {
@@ -31,6 +31,21 @@ namespace GameLogic.Combat.Buff
                     WuXingType.Fire,null,HarmType.Buff);
             }
         }
+        protected override void ProUpdateEffect()
+        {
+            if (buffCount >= buffInf.BuffConfig.overlayCount) //最大叠加数量
+            {
+                b_1010 b1010 = combatHeroEntity.BuffControl.GetBuffBasicForType<b_1010>();
+                if (b1010 != null)
+                {
+                    return;
+                }
+
+                BuffInfo buffInfo = BuffInfo.GetBuffInfo(10101, 1);
+                combatHeroEntity.BuffControl.AddBuff(source, buffInfo);
+                // combatHeroEntity.BuffControl.RemoveBuff(this);
+            }
+        }
      
 
         protected override void ProDormancyObj()

+ 2 - 2
Assets/Scripts/GameLogic/Combat/CombatTool/CombatCalculateTool.cs

@@ -375,12 +375,12 @@ namespace GameLogic.Combat.CombatTool
             float p2 = 100;
             if (c < 0) //a被压制
             {
-                p2 = Mathf.Max(100, Mathf.Min(200, 30 + lg_b - lg_a));
+                p2 = Mathf.Max(100, Mathf.Min(200, 130 + lg_b - lg_a));
                 targetHp = GetVlaueRatioForLong(targetHp, p2);
             }
             else if (c > 0)
             {
-                p2 = Mathf.Max(100, Mathf.Min(200, 30 + lg_a - lg_b));
+                p2 = Mathf.Max(100, Mathf.Min(200, 130 + lg_a - lg_b));
                 myHp = GetVlaueRatioForLong(myHp, p2);
             }
 

+ 2 - 15
Assets/Scripts/GameLogic/Combat/Hero/CombatHeroInfo.cs

@@ -271,22 +271,9 @@ public class CombatHeroInfo
                         continue;
                     }
 
-                    int start = MonsterPowerUpConfig.GongfaStar-1;
-                    int skillid = id * 10 + start;
-                    while (start >= 0)
-                    {
-                        SkillConfig skillConfig = ConfigComponent.Instance.Get<SkillConfig>(skillid);
-                        if (skillConfig.ID > 0)
-                        {
-                            break;
-                        }
-
-                        start--;
-                        skillid = id * 10 + start;
-                    }
-
+                   
 
-                    SkillInfo skillInfo = new SkillInfo(skillid, MonsterPowerUpConfig.GongfaLv);
+                    SkillInfo skillInfo = new SkillInfo(id, MonsterPowerUpConfig.GongfaLv,MonsterPowerUpConfig.GongfaStar);
                     skillInfo.index = i;
                     unLockSkills.Add(skillInfo);
                 }

+ 3 - 0
Assets/Scripts/GameLogic/Combat/Hero/CombatHeroSkillControl.cs

@@ -5,6 +5,7 @@ using Fort23.Core;
 using Fort23.Mono;
 using Fort23.UTool;
 using GameLogic.Combat.CombatTool;
+using GameLogic.Combat.CombatType;
 using GameLogic.Combat.Hero.Turntable;
 using GameLogic.Combat.Skill;
 using GameLogic.Hero;
@@ -62,6 +63,8 @@ namespace GameLogic.Combat.Hero
             }
             else
             {
+                
+
                 await SetNewSkill(PlayerManager.Instance.GongFaControl.allUseSkill);
             }
 

+ 10 - 10
Assets/Scripts/GameLogic/Combat/Skill/S9002.cs

@@ -20,7 +20,7 @@ namespace GameLogic.Combat.Skill
 
         protected override void ProInitSkill()
         {
-            AddTriggerCallBack("sk1_fashe", Sk1_FaSheProDefaultTimeLineTrigger);
+            // AddTriggerCallBack("sk1_fashe", Sk1_FaSheProDefaultTimeLineTrigger);
         }
 
         protected override void ProUseSkill()
@@ -45,15 +45,15 @@ namespace GameLogic.Combat.Skill
                 effectValue[0]);
         }
 
-        private void Sk1_FaSheProDefaultTimeLineTrigger(string groupName, CombatHeroHitPoint targetEntity,
-            ITimelineFxLogic timelineFxLogic,
-            TriggerData triggerData,ISkillFeatures skillFeatures)
-        {
-            long v = CombatCalculateTool.Instance.GetVlaueRatioForLong(CombatHeroEntity.CurrCombatHeroInfo.attack.Value,
-                effectValue[0]);
-            CombatCalculateTool.Instance.Harm(CombatHeroEntity, targetEntity, v, AttType.Skill, triggerData, wuXingType,skillFeatures,
-                HarmType.Default);
-        }
+        // private void Sk1_FaSheProDefaultTimeLineTrigger(string groupName, CombatHeroHitPoint targetEntity,
+        //     ITimelineFxLogic timelineFxLogic,
+        //     TriggerData triggerData,ISkillFeatures skillFeatures)
+        // {
+        //     long v = CombatCalculateTool.Instance.GetVlaueRatioForLong(CombatHeroEntity.CurrCombatHeroInfo.attack.Value,
+        //         effectValue[0]);
+        //     CombatCalculateTool.Instance.Harm(CombatHeroEntity, targetEntity, v, AttType.Skill, triggerData, wuXingType,skillFeatures,
+        //         HarmType.Default);
+        // }
 
         protected override void ProCombatUpdate(float time)
         {

+ 16 - 3
Assets/Scripts/GameLogic/CombatScenesTool/TestCombatHeroConfig.cs

@@ -15,9 +15,16 @@ namespace GameLogic.CombatScenesTool
             [Header("等级")] public int level;
             [Header("额外生命")] public int hp;
             [Header("额外攻击力")] public int att;
+            [Header("额外防御")] public int def;
+            [Header("金")] public int jing;
+            [Header("木")] public int mu;
+            [Header("水")] public int shui;
+            [Header("火")] public int huo;
+            [Header("土")] public int tu;
 
             [Header("测试功法(skill ID)")] public List<int> skill;
-
+            [Header("测试场景功法等级")] public int skillLevel=1;
+            [Header("测试场景功法星级")] public int skillStart=1;
             [Header("测试法宝 法宝ID")] public List<int> magicWeaponId;
 
             public void CopyToCombatHeroInfo(CombatHeroInfo combatHeroInfo)
@@ -26,10 +33,16 @@ namespace GameLogic.CombatScenesTool
                 // int[] skill = combatHeroInfo.modelConfig.skillID;
                 if (magicWeaponId != null && magicWeaponId.Count > 0)
                 {
+                    int fbLevel = ((level - 1) / 10) + 1;
+                    if (fbLevel <= 0)
+                    {
+                        fbLevel = 1;
+                    }
+
                     combatHeroInfo.MagicWeaponID.Clear();
                     for (int i = 0; i < magicWeaponId.Count; i++)
                     {
-                        FaBaoInfo faBaoInfo = new FaBaoInfo(magicWeaponId[i], 1);
+                        FaBaoInfo faBaoInfo = new FaBaoInfo(magicWeaponId[i], fbLevel);
                         combatHeroInfo.MagicWeaponID.Add(faBaoInfo);
                     }
                 }
@@ -39,7 +52,7 @@ namespace GameLogic.CombatScenesTool
                     combatHeroInfo.unLockSkills.Clear();
                     for (int i = 0; i < skill.Count; i++)
                     {
-                        SkillInfo skillInfo = new SkillInfo(skill[i], 1);
+                        SkillInfo skillInfo = new SkillInfo(skill[i], skillLevel,skillStart);
                         skillInfo.index = i;
                         combatHeroInfo.unLockSkills.Add(skillInfo);
                     }

+ 28 - 3
Assets/Scripts/GameLogic/Hero/SkillInfo.cs

@@ -16,10 +16,35 @@ namespace GameLogic.Hero
 
         public AccountFileInfo.SkillData SkillData;
 
+        public SkillInfo(int skillId, int skillPowerup)
+        {
+            InitSkill(skillId, skillPowerup);
+        }
 
-        public SkillInfo(int skill, int skillPowerup)
+        public SkillInfo(int skillIdGroup, int skillPowerup, int start)
         {
-            skillConfig = ConfigComponent.Instance.Get<SkillConfig>(skill);
+            start--;
+            int skillid = skillIdGroup * 10 + start;
+            while (start >= 0)
+            {
+                SkillConfig skillConfig = ConfigComponent.Instance.Get<SkillConfig>(skillid);
+                if (skillConfig.ID > 0)
+                {
+                    break;
+                }
+
+                start--;
+                skillid = skillIdGroup * 10 + start;
+            }
+
+            InitSkill(skillid, skillPowerup);
+        }
+
+        private void InitSkill(int skillId, int skillPowerup)
+        {
+            SkillData = new AccountFileInfo.SkillData();
+          
+            skillConfig = ConfigComponent.Instance.Get<SkillConfig>(skillId);
             SkillPowerupConfig = ConfigComponent.Instance.Get<SkillPowerupConfig>(skillPowerup);
             if (skillConfig.ID != 0)
             {
@@ -48,7 +73,6 @@ namespace GameLogic.Hero
             index = 0;
         }
 
-
         public void CustomInt(AccountFileInfo.SkillData skillId)
         {
             SkillData = skillId;
@@ -58,6 +82,7 @@ namespace GameLogic.Hero
             {
                 skillConfig.effectValue = new float[1];
             }
+
             if (skillConfig.effectValue != null)
             {
                 effectValue = new float[skillConfig.effectValue.Length];

+ 65 - 2
Assets/Scripts/GameLogic/Player/PlayerManager.cs

@@ -85,6 +85,19 @@ public class PlayerManager : Singleton<PlayerManager>
 
     public void AddTestHeroInfo(TestCombatHeroConfig.TestHeroInfoConfig testHeroInfoConfig)
     {
+        GongFaControl.allSkill.Clear();
+        SkillConfig[] allSkillConfig = ConfigComponent.Instance.GetAll<SkillConfig>();
+        for (int i = 0; i < allSkillConfig.Length; i++)
+        {
+            SkillConfig skillConfig = allSkillConfig[i];
+            if (skillConfig.level == testHeroInfoConfig.skillStart)
+            {
+                SkillInfo skillInfo = new SkillInfo(skillConfig.ID, testHeroInfoConfig.skillLevel);
+                skillInfo.index = -1;
+                GongFaControl.AddSkillInfo(skillInfo);
+            }
+        }
+
         AccountFileInfo.HeroData heroData = new AccountFileInfo.HeroData();
         heroData.heroModelId = testHeroInfoConfig.heroID;
         heroData.heroPowerId = testHeroInfoConfig.level;
@@ -95,17 +108,39 @@ public class PlayerManager : Singleton<PlayerManager>
             GongFaControl.allSkill.Clear();
             for (int i = 0; i < testHeroInfoConfig.skill.Count; i++)
             {
-                SkillInfo skillInfo = new SkillInfo(testHeroInfoConfig.skill[i], 1);
+                SkillInfo skillInfo = new SkillInfo(testHeroInfoConfig.skill[i], testHeroInfoConfig.skillLevel,
+                    testHeroInfoConfig.skillStart);
                 skillInfo.index = i;
                 GongFaControl.AddSkillInfo(skillInfo);
             }
         }
+        else
+        {
+            SkillInfo[] skillInfos = GongFaControl.allUseSkill;
+            for (int i = 0; i < skillInfos.Length; i++)
+            {
+                if (skillInfos[i] != null)
+                {
+                    SkillInfo skillInfo = new SkillInfo(skillInfos[i].skillConfig.IDGroup,
+                        testHeroInfoConfig.skillLevel,
+                        testHeroInfoConfig.skillStart);
+                    skillInfo.index = i;
+                    GongFaControl.allUseSkill[i] = skillInfo;
+                }
+            }
+        }
 
         if (testHeroInfoConfig.magicWeaponId.Count > 0)
         {
+            int fbLevel = ((testHeroInfoConfig.level - 1) / 10) + 1;
+            if (fbLevel <= 0)
+            {
+                fbLevel = 1;
+            }
+
             for (int i = 0; i < testHeroInfoConfig.magicWeaponId.Count; i++)
             {
-                FaBaoInfo faBaoInfo = new FaBaoInfo(testHeroInfoConfig.magicWeaponId[i], 1);
+                FaBaoInfo faBaoInfo = new FaBaoInfo(testHeroInfoConfig.magicWeaponId[i], fbLevel);
                 FaBaoControl.AddFaBao(faBaoInfo);
                 FaBaoControl.FightFaBao[i] = faBaoInfo;
             }
@@ -117,9 +152,37 @@ public class PlayerManager : Singleton<PlayerManager>
         // }
         myHero.hp += testHeroInfoConfig.hp;
         myHero.attack += testHeroInfoConfig.att;
+        myHero.defense += testHeroInfoConfig.def;
+        myHero.Metal += testHeroInfoConfig.jing;
+        myHero.Wood += testHeroInfoConfig.mu;
+        myHero.Water += testHeroInfoConfig.shui;
+        myHero.Fire += testHeroInfoConfig.huo;
+        myHero.Earth += testHeroInfoConfig.tu;
         myHero.TaoismSkillId = 601011;
         myHero.MagicWeaponID.Clear();
         myHero.MagicWeaponID.AddRange(FaBaoControl.FightFaBao);
+        for (int i = 0; i < FaBaoControl.FightFaBao.Length; i++)
+        {
+            FaBaoInfo faBaoInfo = FaBaoControl.FightFaBao[i];
+            if (faBaoInfo != null)
+            {
+                foreach (var VARIABLE in faBaoInfo.attriButedIC)
+                {
+                    switch (VARIABLE.Key)
+                    {
+                        case 1:
+                            myHero.hp += VARIABLE.Value;
+                            break;
+                        case 2:
+                            myHero.defense += VARIABLE.Value;
+                            break;
+                        case 3:
+                            myHero.attack += VARIABLE.Value;
+                            break;
+                    }
+                }
+            }
+        }
     }
 
 

+ 1 - 1
Assets/Scripts/GameUI/UI/DivineSence/BossInfoPanel.cs

@@ -93,7 +93,7 @@ namespace Fort23.Mono
                         int index = i;
                         cTaskAwaitBuffer.AddTask(UIManager.Instance.CreateGComponent<SkillWidget>((skillWidget) =>
                         {
-                            skillWidget.InitSkillWidget(new SkillInfo(combatHeroInfo.modelConfig.skillID[index] * 10 + heroPowerUpConfig.GongfaStar - 1, heroPowerUpConfig.GongfaLv));
+                            skillWidget.InitSkillWidget(new SkillInfo(combatHeroInfo.modelConfig.skillID[index] , heroPowerUpConfig.GongfaLv,heroPowerUpConfig.GongfaStar));
                             skillWidget.OnClick = SkillWidgetOnClick;
                             _skillWidgets.Add(skillWidget);
                         }, GongfaRoot));

+ 1 - 1
Assets/Scripts/GameUI/UI/GongFaUpgradePanel/GongFaUpgradePanel.cs

@@ -245,7 +245,7 @@ namespace Fort23.Mono
             {
                 if (configs[i].level == 1)
                     continue;
-                SkillInfo skillInfo1 = new SkillInfo(configs[i].ID, _skillInfo.SkillPowerupConfig.ID);
+                SkillInfo skillInfo1 = new SkillInfo(configs[i].IDGroup, _skillInfo.SkillPowerupConfig.ID,configs[i].level);
                 GongFaUpgradeInfoWidget gongFaUpgradeInfoWidget = await UIManager.Instance.CreateGComponent<GongFaUpgradeInfoWidget>(null, Content);
                 gongFaUpgradeInfoWidget.CustomInit(_skillInfo, skillInfo1);
                 _gongFaUpgradeInfoWidgets.Add(gongFaUpgradeInfoWidget);

BIN
Excel2Json/Excel/Buff.xlsx


BIN
Excel2Json/Excel/skill.xlsx