4跟5 為 補品
高手可以幫看一下嘛 可以改哪些地方
測試過可以同時偵測
但高手們有更簡單的寫法嘛?
補品cd為2秒故使用後保留3秒
補品時間20秒故保留15秒
------------------------------------------
Rem 3
IfColor 85,45,6b6d6b,0
Delay 100
Goto 1
EndIf
IfColor 94,31,949694,0
Delay 100
Goto 2
Else
Goto 3
EndIf
Rem 1
IfColor 85,45,6b6d6b,0
KeyPress 52,1
Delay 3000
IfColor 94,31,949694,0
Goto 4
Else
Delay 1000
Goto 3
EndIf
EndIf
Rem 2
IfColor 94,31,949694,0
KeyPress 53,1
Delay 3000
IfColor 85,45,6b6d6b,0
Goto 5
Else
Delay 1000
Goto 3
EndIf
EndIf
Rem 4
IfColor 94,31,949694,0
KeyPress 53,1
Delay 15000
Goto 3
Delay 1000
EndIf
Rem 5
IfColor 85,45,6b6d6b,0
KeyPress 52,1
Delay 15000
Goto 3
Delay 1000
EndIf
Goto 3
------------------------------------------ |