|
@@ -99,7 +99,7 @@ namespace GFGGame
|
|
{
|
|
{
|
|
StoryChapterCfg chapterCfg = StoryChapterCfgArray.Instance.GetCfg(_chapterID);
|
|
StoryChapterCfg chapterCfg = StoryChapterCfgArray.Instance.GetCfg(_chapterID);
|
|
_ui.m_txtChapterName.text = StoryUtil.GetChapterOrderText(_chapterID) + "·" + chapterCfg.name;
|
|
_ui.m_txtChapterName.text = StoryUtil.GetChapterOrderText(_chapterID) + "·" + chapterCfg.name;
|
|
- int starCountChapter = InstanceZonesDataManager.GetChapterStarCount(_chapterID);
|
|
|
|
|
|
+ int starCountChapter = InstanceZonesDataManager.GetChapterStarCount(_chapterID, chapterCfg.type, chapterCfg.subType);
|
|
_ui.m_txtStarCount.text = "" + starCountChapter + "/" + chapterCfg.bonusStar3;
|
|
_ui.m_txtStarCount.text = "" + starCountChapter + "/" + chapterCfg.bonusStar3;
|
|
UpdateBonusBoxName(_ui.m_bonusBox1, "" + chapterCfg.bonusStar1);
|
|
UpdateBonusBoxName(_ui.m_bonusBox1, "" + chapterCfg.bonusStar1);
|
|
UpdateBonusBoxName(_ui.m_bonusBox2, "" + chapterCfg.bonusStar2);
|
|
UpdateBonusBoxName(_ui.m_bonusBox2, "" + chapterCfg.bonusStar2);
|