浏览代码

修改bug

lzx 6 小时之前
父节点
当前提交
625079124c
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Assets/Scripts/GameUI/UI/HeroInformationPanel/HeroInformationPanel.cs

+ 6 - 0
Assets/Scripts/GameUI/UI/HeroInformationPanel/HeroInformationPanel.cs

@@ -104,6 +104,12 @@ namespace Fort23.Mono
 
             Btn_TuPo.onClick.AddListener(async () =>
             {
+                if (PlayerManager.Instance.myHero.powerUpConfig.ID >= 160)
+                {
+                    TipMessagePanel.OpenTipMessagePanel(10810);
+                    return;
+                }
+
                 int currentMiao = (int)((TimeHelper.ClientNow() - PlayerManager.Instance.myHero.heroData.upTime) /
                                         1000);