From 2928991be15d7d8ce8290fab40b40fb5ae7711f9 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 09 一月 2026 15:43:51 +0800
Subject: [PATCH] 266 【内政】古宝系统
---
Main/System/Main/FightPowerManager.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Main/System/Main/FightPowerManager.cs b/Main/System/Main/FightPowerManager.cs
index 76ba0c0..622970e 100644
--- a/Main/System/Main/FightPowerManager.cs
+++ b/Main/System/Main/FightPowerManager.cs
@@ -170,6 +170,7 @@
#if UNITY_EDITOR
FightPowerDebug("鎴樺姏锛氱瓑绾у睘鎬� " + JsonMapper.ToJson(lvAttrs));
FightPowerDebug("鎴樺姏锛氱孩棰滃睘鎬� " + JsonMapper.ToJson(BeautyMMManager.Instance.allMMTalentAttr));
+ FightPowerDebug("鎴樺姏锛氬彜瀹濆睘鎬� " + JsonMapper.ToJson(GubaoManager.Instance.gubaoAllAttrDict));
#endif
}
@@ -319,8 +320,8 @@
propertyVariables[REALM_VALUE] = officialAttrs.ContainsKey(attrType) ? officialAttrs[attrType] : 0;
propertyVariables[REALM_PER] = GetOfficialPer(attrType) / 10000.0f;
// propertyVariables[BOOK_PER] = GetBookPer(attrType) / 10000.0f;
- propertyVariables[GUBAO_VALUE] = 0;
- propertyVariables[GUBAO_PER] = 0;
+ propertyVariables[GUBAO_VALUE] = GubaoManager.Instance.GetAttrValue(attrType);
+ propertyVariables[GUBAO_PER] = GubaoManager.Instance.GetAttrPer(attrType) / 10000.0f;
propertyVariables[HJG_VALUE] = PhantasmPavilionManager.Instance.GetAttrValue(attrType);
propertyVariables[HJG_PER] = PhantasmPavilionManager.Instance.GetAttrPer(attrType) / 10000.0f;
propertyVariables[HORSE_VALUE] = HorseManager.Instance.GetAttrValue(attrType);
--
Gitblit v1.8.0