| Main/System/BeautyMM/BeautyMMManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/Main/FightPowerManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/System/BeautyMM/BeautyMMManager.cs
@@ -398,7 +398,7 @@ BeautyQualityLVConfig config; for (int i = 1; i <= lv; i++) { BeautyQualityLVConfig.TryGetBeautyQualityLVConfig(mmConfig.BeautyQuality, lv, out config); BeautyQualityLVConfig.TryGetBeautyQualityLVConfig(mmConfig.BeautyQuality, i, out config); if (config != null) { for (int j = 0; j < config.AttrIDList.Length; j++) @@ -472,6 +472,25 @@ } public long GetAttrValue(int attrID) { allMMTalentAttr.TryGetValue(attrID, out long value); return value; } public int GetAttrPer(int attrID) { if (PlayerPropertyConfig.baseAttr2perDict.ContainsKey(attrID)) { var pertype = PlayerPropertyConfig.baseAttr2perDict[attrID]; allMMTalentAttr.TryGetValue(pertype, out long value); return (int)(value); } return 0; } #region 红点 Redpoint redpoint = new Redpoint(MainRedDot.MainAffairsRedpoint, MainRedDot.Redpoint_BeautyMM); Redpoint redpointMM = new Redpoint(MainRedDot.Redpoint_BeautyMM, MainRedDot.Redpoint_BeautyMM * 10 + 1); Main/System/Main/FightPowerManager.cs
@@ -161,6 +161,7 @@ } #if UNITY_EDITOR FightPowerDebug("战力:等级属性 " + JsonMapper.ToJson(lvAttrs)); FightPowerDebug("战力:红颜属性 " + JsonMapper.ToJson(BeautyMMManager.Instance.allMMTalentAttr)); #endif } @@ -316,8 +317,8 @@ propertyVariables[HJG_PER] = PhantasmPavilionManager.Instance.GetAttrPer(attrType) / 10000.0f; propertyVariables[HORSE_VALUE] = HorseManager.Instance.GetAttrValue(attrType); propertyVariables[HORSE_PER] = HorseManager.Instance.GetAttrPer(attrType) / 10000.0f; propertyVariables[BEAUTY_VALUE] = 0; propertyVariables[BEAUTY_PER] = 0; propertyVariables[BEAUTY_VALUE] = BeautyMMManager.Instance.GetAttrValue(attrType); propertyVariables[BEAUTY_PER] = BeautyMMManager.Instance.GetAttrPer(attrType) / 10000.0f; propertyVariables[FATES_VALUE] = HeroFatesManager.Instance.GetAttrValue(attrType); propertyVariables[FATES_PER] = HeroFatesManager.Instance.GetAttrPer(attrType) / 10000.0f;