From b6f94e013be7edc0aa3de2440dd52d2c7e6d9d38 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 27 十月 2025 18:37:18 +0800
Subject: [PATCH] 125 竞技场+伤害展示跟技能名字弹出

---
 Main/System/Main/FightPowerManager.cs |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Main/System/Main/FightPowerManager.cs b/Main/System/Main/FightPowerManager.cs
index 686d806..7272789 100644
--- a/Main/System/Main/FightPowerManager.cs
+++ b/Main/System/Main/FightPowerManager.cs
@@ -230,6 +230,10 @@
         propertyVariables["bookPer"] = GetBookPer(attrType) / 10000.0f;
         propertyVariables["realmValue"] = officialAttrs.ContainsKey(attrType) ? officialAttrs[attrType] : 0;
         propertyVariables["realmPer"] = GetOfficialPer(attrType) / 10000.0f;
+        propertyVariables["gubaoValue"] = 0;
+        propertyVariables["gubaoPer"] = 0;
+        propertyVariables["hjgValue"] = 0;
+        propertyVariables["hjgPer"] = 0;
 
         //锛侊紒锛佸崟姝﹀皢鎴樺姏棰勮鐨勮瘽闇�瑕佹帓闄ら槦浼嶅奖鍝嶆垬鍔涳紝鍙畻姝﹀皢鑷韩鐨勪笂闃靛睘鎬�
         propertyVariables["lineupInitAddPer"] = GetLineUpPer(attrType, "lineupInitAddPer") / 10000.0f;
@@ -380,11 +384,11 @@
             }
             if (config.showType == 1)
             {
-                fightPowerVariables[config.Parameter] = (ulong)GetPropertyVaule(config.ID, hero, propertyFormula);
+                fightPowerVariables[config.Parameter] = Math.Round(GetPropertyVaule(config.ID, hero, propertyFormula), 3);
             }
             else
             {
-                fightPowerVariables[config.Parameter] = (ulong)GetPropertyVaule(config.ID, hero, fightPropertyFormula);
+                fightPowerVariables[config.Parameter] = Math.Round(GetPropertyVaule(config.ID, hero, fightPropertyFormula), 3);
             }
         }
 
@@ -494,11 +498,11 @@
             var index = team.GetEmptyPosition();
             if (index < 0)
             {
-                team.AddHero(heroInfo, 5);
+                team.AddHero(heroInfo, 5, false);
             }
             else
             {
-                team.AddHero(heroInfo, index);
+                team.AddHero(heroInfo, index, false);
             }
         }
 

--
Gitblit v1.8.0