From c9a0511e06d6ae2d83fc5554ee40a6a40dbd283d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 11 十一月 2025 20:15:16 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.secondworld.net.cn:10010/r/Project_SG_scripts

---
 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