Browse Source

感悟点刷新刷新英雄属性

lzx 2 days ago
parent
commit
099c45890c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Assets/Scripts/GameUI/UI/SentimentPanel/SentimentInfoPanel.cs

+ 2 - 0
Assets/Scripts/GameUI/UI/SentimentPanel/SentimentInfoPanel.cs

@@ -88,6 +88,7 @@ namespace Fort23.Mono
                 }
 
                 UpdateRestBtn();
+                PlayerManager.Instance.myHero.ComputeHeroInfo();
                 AccountFileInfo.Instance.SavePlayerData();
             });
             Btn_LingWu.onClick.AddListener(() =>
@@ -140,6 +141,7 @@ namespace Fort23.Mono
 
                 UpdateRestBtn();
                 UpdateUi();
+                PlayerManager.Instance.myHero.ComputeHeroInfo();
                 currentSentimentEffectWidget.CustomInit(curretnSentimentProperty);
             });
         }