Vindicta added.
This commit is contained in:
parent
216237de39
commit
1eda4ef185
26
vindicta.py
Normal file
26
vindicta.py
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
from super_bot.super_bot import SuperBot
|
||||||
|
from super_bot.timer import minutes
|
||||||
|
from super_bot.interval import Interval
|
||||||
|
from datetime import timedelta
|
||||||
|
from pynput.keyboard import Key
|
||||||
|
|
||||||
|
|
||||||
|
bot = SuperBot()
|
||||||
|
|
||||||
|
def press_overload():
|
||||||
|
bot.press_key(Key.f5)
|
||||||
|
|
||||||
|
def press_animate_dead():
|
||||||
|
bot.press_key(Key.f6)
|
||||||
|
|
||||||
|
overload = Interval(timedelta(seconds=330), press_overload)
|
||||||
|
animate_dead = Interval(timedelta(minutes=11), press_animate_dead)
|
||||||
|
|
||||||
|
timer = minutes(120)
|
||||||
|
|
||||||
|
while timer.ongoing():
|
||||||
|
overload.check_and_execute()
|
||||||
|
bot.super_random_sleep(500,800)
|
||||||
|
animate_dead.check_and_execute()
|
||||||
|
bot.super_random_sleep(1000, 2000)
|
||||||
|
|
||||||
Loading…
Reference in a new issue