Browse Source

修改bug

DESKTOP-BGJIU14\ck 1 week ago
parent
commit
c0f2507ede

File diff suppressed because it is too large
+ 126 - 0
Assets/Res/Config/SkillConfig.json


+ 10 - 0
Assets/Scripts/GameData/ExcelConfig/SkillConfig.cs

@@ -154,6 +154,16 @@ namespace Excel2Json
 #endif
 		
 
+		/// <summary>
+		///效果升级的强化因子100=100%
+		/// </summary>
+#if !COMBAT_SERVER
+		public int effectUpK;
+#else
+		public int effectUpK{ set; get; }
+#endif
+		
+
 		/// <summary>
 		///效果值
 		/// </summary>

+ 2 - 1
Assets/Scripts/GameLogic/Hero/SkillInfo.cs

@@ -62,7 +62,8 @@ namespace GameLogic.Hero
                         int index = skillConfig.intensifierIndex[i] - 1;
                         if (index >= 0 && index < effectValue.Length)
                         {
-                            effectValue[index] = effectValue[index] * SkillPowerupConfig.SkillPower1 * 0.01f;
+                           float value = 100+(SkillPowerupConfig.SkillPower1 - 100) * skillConfig.effectUpK * 0.01f;
+                            effectValue[index] = effectValue[index] * value * 0.01f;
                         }
                     }
                 }

BIN
Excel2Json/Excel/skill.xlsx


Some files were not shown because too many files changed in this diff