|
@@ -261,6 +261,8 @@ namespace Fort23.Mono
|
|
|
Slider_Exp_Process.SetActive(false);
|
|
|
bossName.text = bossHeroEntity.CurrCombatHeroInfo.heroName;
|
|
|
UpdateBossHp();
|
|
|
+
|
|
|
+ OnHeroPanelClose(null);
|
|
|
}
|
|
|
|
|
|
protected void UpdateBossHp()
|
|
@@ -384,6 +386,16 @@ namespace Fort23.Mono
|
|
|
txtDiamond.text = BagController.Instance.GetItemInfo(GlobalParam.Item_Diamond_ID).count.Value.ToStringEx();
|
|
|
txtCoin.text = BagController.Instance.GetItemInfo(GlobalParam.Item_Coin_ID).count.Value.ToStringEx();
|
|
|
txtHeroExp.text = BagController.Instance.GetItemInfo(GlobalParam.Item_HeroExp_ID).count.Value.ToStringEx();
|
|
|
+
|
|
|
+ if (PlayerManager.Instance.heroController.heroDicInLead.Count >= 4)
|
|
|
+ {
|
|
|
+ box.gameObject.SetActive(true);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ box.gameObject.SetActive(false);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|