| 
					
				 | 
			
			
				@@ -91,7 +91,6 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (RoleDataManager.power < levelCfg.power) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     ItemUtil.AddPower("体力不足", OnClickBtnStart); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 else 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -128,12 +127,9 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // var levelCfg = StoryLevelCfgArray.Instance.GetCfg(_levelID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (RoleDataManager.power < levelCfg.power) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ItemUtil.AddPower("体力不足", OnClickBtnStart); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ItemUtil.AddPower("体力不足", OnClickBtnFightOnce); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -148,37 +144,14 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClickBtnFightTimes() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            int starCount = InstanceZonesDataManager.GetStarCountHistory(_levelID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            StoryLevelCfg levelCfg = StoryLevelCfgArray.Instance.GetCfg(_levelID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            StoryFightCfg fightCfg = StoryFightCfgArray.Instance.GetCfg(levelCfg.fightID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (starCount < fightCfg.quickFightStart) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                PromptController.Instance.ShowFloatTextPrompt("挑战星数不足"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //只要按钮显示说明一定可以速刷多次 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             InstanceZonesDataManager.GetCanFightTime(_type, _storyType, _levelID, out int times, out string title); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Show(ViewName.STORY_FIGHT_QUICKLY_VIEW, times, new object[] { typeof(StoryLevelInfoView).FullName, this.viewData }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.Hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_type == ConstInstanceZonesType.Story && _storyType == ConstInstanceZonesSubType.Normal) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (times < GameConst.MAX_COUNT_FIGHT_QUICKLY) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ItemUtil.AddPower("体力不足", OnClickBtnFightTimes); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ViewManager.Show(ViewName.STORY_FIGHT_QUICKLY_VIEW, times, new object[] { typeof(StoryLevelInfoView).FullName, this.viewData }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    this.Hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ViewManager.Show(ViewName.STORY_FIGHT_QUICKLY_VIEW, times, new object[] { typeof(StoryLevelInfoView).FullName, this.viewData }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                this.Hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void UpdateBonusItem(int index, GObject item) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -198,16 +171,9 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void UpdateBtnFightTimes() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_ui.m_groupPass.visible) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                InstanceZonesDataManager.GetCanFightTime(_type, _storyType, _levelID, out int times, out string title); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_btnFightTimes.title = title; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_btnFightTimes.visible = times > 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (_type == ConstInstanceZonesType.Story && _storyType == ConstInstanceZonesSubType.Normal) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    _ui.m_btnFightTimes.visible = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            InstanceZonesDataManager.GetCanFightTime(_type, _storyType, _levelID, out int times, out string title); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnFightTimes.title = title; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnFightTimes.visible = times > 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void UpdateView() 
			 |