這篇很有用
這樣就能更快補血了
實現1毫秒偵測補血
再來有人說sleep比delay更好
如果替換sleep
是否更精準呢
Declare Sub Sleep Lib "kernel32.dll" (ByVal Milliseconds As Integer)
Private Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long)Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)