Advertisement
rxdey

Untitled

Sep 2nd, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. openCard(baseX, baseY, card:= 1, clickCount:= 0)
  2. {
  3. Random, VariableDelay, 30, 80
  4. Loop, 20
  5. {
  6. MouseMove, (baseX + ((clickCount // 5) * 29)), baseY + (30 * Mod(clickCount,5))
  7. sleep, VariableDelay
  8. Send, {RButton}
  9. ; 移动到背包外面
  10. bordX := (baseX + ((clickCount // 5) * 29)) - (200 + ((clickCount // 5) * 29))
  11. bordY := baseY
  12. MouseMove, bordX, bordY
  13. Send, {Click}
  14. sleep, VariableDelay
  15. }
  16. clickCount := clickCount + 1
  17. if (clickCount < card) {
  18. openCard(baseX, baseY, card, clickCount)
  19. }
  20. return
  21. }
  22. f4::
  23. ; 第一组卡位置 默认右上角
  24. baseX := 459
  25. baseY := 369
  26. ; baseX := 1333
  27. ; baseY := 604
  28. card := 60 ;组
  29. openCard(baseX, baseY, card)
  30. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement