Antidote   01-08-2015, 06:13 AM
#17
it's actually 5 seconds though (5000 milliseconds). You can find it here:

    AUTOIT Programming
  1. Func atkAlgorithmKingQueen()
  2. If (GUICtrlRead($chkKingAttackAllBases) == $GUI_CHECKED) Then
  3. For $i = 0 To 6
  4. If $atkTroops[$i][0] = "King" Then
  5. $kingSlot = $i
  6. Click(68 + (72 * $kingSlot), 595)
  7. SetLog("Dropping King")
  8. If _Sleep(2000) Or $RunState = False Then ExitLoop (2)
  9. Click($TopLeft[0][0], $TopLeft[0][1], 1, 1, $iRandomFactor)
  10. If _Sleep(5000) Or $RunState = False Then ExitLoop (2)
  11. Click(68 + (72 * $kingSlot), 595)
  12. SetLog("Activating King's power")



change 5000 (5 seconds) to whatever number you like
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.