def __init__(self, hwnd=0, mode=0): ''' 初始化 :param hwnd=0: 指定窗口句柄:0-否;其他-窗口句柄 :param mode=0: 狗粮模式:0-正常模式,1-组队后排狗粮 ''' Fighter.__init__(self, hwnd=hwnd) # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') # 读取狗粮配置 if mode == 0: raw_gouliang = conf.get('explore', 'gouliang') else: raw_gouliang = conf.get('explore', 'gouliang_b') if len(raw_gouliang) == 2: self.gouliang = None elif len(raw_gouliang) == 3: self.gouliang = [int(raw_gouliang[1])] elif len(raw_gouliang) == 6: self.gouliang = [int(raw_gouliang[1]), int(raw_gouliang[4])] elif len(raw_gouliang) == 9: self.gouliang = [int(raw_gouliang[1]), int( raw_gouliang[4]), int(raw_gouliang[7])] # 读取其他配置 self.fight_boss_enable = conf.getboolean( 'explore', 'fight_boss_enable') self.slide_shikigami = conf.getboolean('explore', 'slide_shikigami') self.slide_shikigami_progress = conf.getint( 'explore', 'slide_shikigami_progress') self.change_shikigami = conf.getint('explore', 'change_shikigami')
def __init__(self, emyc=0, hwnd=0, needMark=False, passengerNum=2): # 初始化 Fighter.__init__(self, 'Driver: ', emyc, hwnd) self.needMark = needMark self.passengerNum = passengerNum # 第一次点击挑战 self.firstClickTiaoZhan = True
def __init__(self, done=1, emyc=0): # 初始化 Fighter.__init__(self, '', emyc) # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.run_submode = conf.getint('mitama', 'run_submode')
def __init__(self): # 初始化 Fighter.__init__(self) # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.fight_boss_enable = conf.getboolean('explore', 'fight_boss_enable')
def __init__(self, emyc=0, hwnd=0): # 初始化 Fighter.__init__(self, 'Driver: ', emyc, hwnd) # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.click_partner_enable = conf.getboolean('mitama', 'click_partner_enable')
def __init__(self, emyc=0, hwnd=0): # 初始化 Fighter.__init__(self, 'Passenger: ', emyc, hwnd) # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.mitama_click_partner_left = conf.getboolean('mitama', 'mitama_click_partner_left') self.mitama_click_partner_right = conf.getboolean('mitama', 'mitama_click_partner_right')
def __init__(self, done=1, emyc=0): # 初始化 Fighter.__init__(self, '', emyc) # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.click_partner_enable = conf.getboolean('mitama', 'click_partner_enable')
def __init__(self, emyc=0, hwnd=0, mark=True): ''' 初始化 :param emyc=0: 点怪设置:0-不点怪 :param hwnd=0: 指定窗口句柄:0-否;其他-窗口句柄 :param mark=True: 是否全局启用标记功能 ''' Fighter.__init__(self, emyc, hwnd) self.log = MyLog.plogger self.mark = mark
def __init__(self): # 初始化 Fighter.__init__(self, '专项任务') # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.tansuo = conf.getint('task', 'tansuo') self.yuhun = conf.getint('task', 'yuhun') self.juexing = conf.getint('task', 'juexing') self.tupo = conf.getint('task', 'tupo')
def __init__(self): # 初始化 Fighter.__init__(self) # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.fight_boss_enable = conf.getboolean('explore', 'fight_boss_enable') self.slide_shikigami = conf.getboolean('explore', 'slide_shikigami') self.slide_shikigami_progress = conf.getint( 'explore', 'slide_shikigami_progress')
def __init__(self, done=1, emyc=0, max_tasks=200, activate=True): # 初始化 Fighter.__init__(self, '', emyc, activate=activate) self.max_tasks = max_tasks # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.mitama_click_partner_left = conf.getboolean( 'mitama', 'mitama_click_partner_left') self.mitama_click_partner_right = conf.getboolean( 'mitama', 'mitama_click_partner_right')
def __init__(self, name, hwnd=0): # 初始化 Fighter.__init__(self, name, 0, hwnd) # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.level = conf.getint('explore', 'level') self.isDriver = False self.gouliang1 = True self.gouliang2 = True self.gouliang3 = True
def __init__(self, max_tasks=200, activate=True): # 初始化 Fighter.__init__(self, activate=activate) self.max_tasks = max_tasks # 读取配置文件 conf = configparser.ConfigParser() conf.read('conf.ini') self.fight_boss_enable = conf.getboolean('explore', 'fight_boss_enable') self.tupo_enable = conf.getboolean('explore', 'tupo_enable') self.slide_shikigami = conf.getboolean('explore', 'slide_shikigami') self.slide_shikigami_progress = conf.getint( 'explore', 'slide_shikigami_progress') self.zhunbei_delay = conf.getint('explore', 'zhunbei_delay')
def __init__(self, emyc=0, hwnd=0): # 初始化 Fighter.__init__(self, emyc, hwnd) self.max_tasks = 30
def __init__(self, done=1, emyc=0): # 初始化 Fighter.__init__(self, '', emyc)
def __init__(self, emyc=0, hwnd=0): # 初始化 Fighter.__init__(self, 'Driver: ', emyc, hwnd)
def __init__(self, emyc=0, hwnd=0): # 初始化 Fighter.__init__(self, 'Ghost: ', emyc, hwnd)
def __init__(self, emyc=0, hwnd=0): # 初始化 Fighter.__init__(self, emyc, hwnd) self.log = MyLog.dlogger
def __init__(self, done=1, emyc=0): # 初始化 Fighter.__init__(self, 'Passenger: ', emyc)
def __init__(self, emyc=0, hwnd=0): # 初始化 Fighter.__init__(self, 'Breakthrough: ', emyc, hwnd)
def __init__(self, emyc=0, hwnd=0): # 初始化 Fighter.__init__(self, 'Passenger: ', emyc, hwnd)
def __init__(self, hwnd=0): # 初始化 Fighter.__init__(self, 'Boundary: ', 0, hwnd) conf = configparser.ConfigParser() conf.read('conf.ini') self.auto_fight = conf.getboolean('tu', 'auto')
def __init__(self, emyc=0, hwnd=0, max_tasks=30, activate=True): # 初始化 Fighter.__init__(self, 'Breakthrough: ', emyc, hwnd, activate) self.max_tasks = max_tasks
def __init__(self): # 初始化 Fighter.__init__(self)