From 1ad5ed07fa61e97a86dc2f1389027f306a85171d Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期一, 10 十一月 2025 16:20:31 +0800
Subject: [PATCH] 344 子 【新手】细节优化 / 战斗死亡弹首充 功能没开不弹首充

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

diff --git a/Main/System/Main/FightPowerManager.cs b/Main/System/Main/FightPowerManager.cs
index 37b1765..05a4476 100644
--- a/Main/System/Main/FightPowerManager.cs
+++ b/Main/System/Main/FightPowerManager.cs
@@ -230,6 +230,12 @@
         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["horseValue"] = 0;
+        propertyVariables["horsePer"] = 0;
 
         //锛侊紒锛佸崟姝﹀皢鎴樺姏棰勮鐨勮瘽闇�瑕佹帓闄ら槦浼嶅奖鍝嶆垬鍔涳紝鍙畻姝﹀皢鑷韩鐨勪笂闃靛睘鎬�
         propertyVariables["lineupInitAddPer"] = GetLineUpPer(attrType, "lineupInitAddPer") / 10000.0f;
@@ -494,11 +500,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