Function 横向血条保护(百分比)
血条颜色 = GetPixelColor(713 + (220 * 百分比 / 100), 468)
R = Right(血条颜色, 2)
G = Mid(血条颜色, 3, 2)
B = left(血条颜色, 2)
If (R = G) and (G = B) Then
KeyPress "Q",1
End If
End Function
Do
横向血条保护 10
Loop
Function 横向血条保护(百分比)
血条颜色 = GetPixelColor(713 + (220 * 百分比 / 100), 468)
R = Right(血条颜色, 2)
G = Mid(血条颜色, 3, 2)
B = left(血条颜色, 2)
If (R = G) and (G = B) Then
KeyPress "Q",1
End If
End Function
Do
横向血条保护 10
Loop