End If
	
    Loop
	
    goto f1	

Else
    //**************************群刷***************

	ft2=now
	
	dm.keypress 辅助技能2
	
	Delay 1500
	
    Rem f3
	
    ft1 = now
	
    dm.keypress 辅助技能1
		
    If datediff("s", ft2, now) >= 辅助技能2时间 Then 
			
        dm.keypress 辅助技能2
            
        ft2 = now
   
    End If
	
    Do  While true
	
        Rem start2
	
        Delay 1000
	
        //***************自动灵力*********
        If 灵力 = "6a341a" Then 
			
            dm.moveto 681,184
			
            Delay 300
			
            dm.leftclick 
			
            Delay 300
			
            dm.leftclick 
			
        End If

        //**********************自动组队***********
        If 自动组队=0 Then
			
            dm_ret = dm.FindPic(0,0,2000,2000,"组队.bmp","000000",0.9,0,X,Y)
		
            If X >= 0 Then
    		
                dm.moveto 609,484
			
                Delay 300 
			
                dm.LeftClick
			
                Delay 1500
			
                dm.moveto 450,359
			
                Delay 300
			
                dm.LeftClick
		
            End If
		
        End If                   

        //***********自动捡物品*******
        If 是否拾取 = 0 Then 
			
            dm.KeyPress 32
	
            Delay 300
	
            dm.KeyPress 32
	
            Delay 300
        
            dm.KeyPress 32
	
            Delay 600
       
        End If
        //**************************引怪过程**************
        For 引怪数量

            Rem 选怪2

            dm.KeyPress 9

            color4 = dm.GetColor(354, 38)