|
@@ -9,6 +9,7 @@ namespace GFGGame
|
|
|
{
|
|
|
public class StoryLevelInfoView : BaseWindow
|
|
|
{
|
|
|
+ private const int _quicklyStarCount = 2;//达到2星可快速挑战
|
|
|
private UI_StoryLevelInfoUI _ui;
|
|
|
|
|
|
private int _levelID;
|
|
@@ -238,8 +239,8 @@ namespace GFGGame
|
|
|
if (InstanceZonesDataManager.CheckLevelPass(_levelID))
|
|
|
{
|
|
|
_bonusList = StoryBonusDataCache.GetBonusList(_levelID, false, true);
|
|
|
- _ui.m_groupPass.visible = true;
|
|
|
- _ui.m_groupUnpass.visible = false;
|
|
|
+ _ui.m_groupPass.visible = InstanceZonesDataManager.GetStarCountHistory(_levelID) >= _quicklyStarCount;
|
|
|
+ _ui.m_groupUnpass.visible = InstanceZonesDataManager.GetStarCountHistory(_levelID) < _quicklyStarCount;
|
|
|
UpdateBtnFightTimes();
|
|
|
}
|
|
|
else
|