Example #1
0
# -*- coding:utf-8 -*-
# 出活动时用
from time import sleep
from core.scripts import scripts_dict
from core.sub import Sub

Youmu_test = scripts_dict.get("Youmu_test")
ykl = scripts_dict.get("Yukari_L")
March = scripts_dict.get("March_default")
ma = scripts_dict.get("Youmu_ma")
Youmu_test.set_mode("number", 1)
Yukari_H = scripts_dict.get("Yukari_H")


def main(sel):
    Sub.start()
    if sel == 0:
        March()
        Sub.stop()
        sleep(5 * 60)
    elif sel == 1:
        pass
    if sel == 2:
        ma.run()
        March()
    elif sel == 3:
        for i in ykl[::-1]:
            i.run()
            March()
    Sub.stop()
Example #2
0
# -*- coding:utf-8 -*-
# 日常刷远征,技能续费
from time import sleep
from core.scripts import scripts_dict
from core.sub import Sub

March = scripts_dict.get("March_default")

if __name__ == "__main__":
    # TODO 写点真的日常操作
    Sub.start()
    while True:
        March()
        sleep(600)
Example #3
0
# -*- coding:utf-8 -*-
# 活动规则
from core.scripts import scripts_dict
from core.sub import Sub

march = scripts_dict.get("March_default")
last_word = scripts_dict.get("last_word")
card_boost = scripts_dict.get("card_boost")
Sub.start()
# 选关
last_word.stage = 4
card_boost.stage = 4
while True:
    card_boost.team = 4
    card_boost.run()
    march.start()
    last_word.team = 1
    last_word.run()
    march.start()
    last_word.team = 2
    last_word.run()
    march.start()
    last_word.team = 3
    last_word.run()
    march.start()
Example #4
0
# -*- coding:utf-8 -*-
# 日常刷远征
from time import sleep, time
from core.scripts import scripts_dict
from core.sub import Sub

March = scripts_dict.get("March_default")
Yukari_H = scripts_dict.get("Yukari_H")

Yukari_H.set_mode("power", 56)

Sub.start()
while True:
    timeUse = Yukari_H.run()
    March()
    marchTime = time()
    while True:
        sleeped_time = time() - marchTime
        if sleeped_time >= 600:
            March()
            sleeped_time = time()
        sleep(30)
        if time() - marchTime > 60 * 40 - timeUse:
            break
Example #5
0
# -*- coding:utf-8 -*-
# 新图推图机
from core.scripts import scripts_dict
from core.sub import Sub

march = scripts_dict.get("March_default")
Youmu_test = scripts_dict.get("Youmu_test")
# 队伍设置
Youmu_test.team = 2

Sub.start()
while True:
    Youmu_test.run()
    march.start()