def test_fuben_single(self): wayOrCut = WayOrCut(Urls.fullUrl828, Urls.preUrl8128) dungeons = Dungeons() # WU_DI_DONG = ['继续', '返回', '返回', '腾云', '无底洞', '激活【无底洞困难副本】', '继续',2,6,'【白鼠精】',4,2,2,6,6,2,4,'【黑鼠精】',6,6,8,8,6,8,8,4,'【田鼠精】',4,2,2,2,2,6,6,'【地涌夫人】'] # dungeons.commonBySkill(wayOrCut, WU_DI_DONG, SKILL_SINGLE) dungeons.commonBySkill(wayOrCut, TheOption.SI_TUO_DONG_VIP, SKILL_SINGLE)
def __init__(self, wayOrCut, mark): threading.Thread.__init__(self) self.mark = mark self.wayOrCut = wayOrCut self.dungeons = Dungeons() self.option = TheOption() self.dungeons = Dungeons()
def test_qunMoZheng(self): # 初始化 wayOrCut = WayOrCut(Urls.fullUrl828, Urls.preUrl8128) # 加载页面 wayOrCut.getHtml() dungeons = Dungeons() dungeons.qunMoZheng(wayOrCut)
def test_chiyao(self): # 初始化 wayOrCut = WayOrCut(Urls.fullUrl828, Urls.preUrl8128) # 加载页面 wayOrCut.getHtml() for name in range(52, 53): dungeons = Dungeons() dungeons.eatDanYao(wayOrCut, str(name))
from baseOption.Dungeons import Dungeons from baseOption.PreUrl import Urls from baseOption.TheWay import TheWay from baseOption.WayOrCut import WayOrCut url='http://f12.mxxy.paop.net/game_mxxy2/s12/c.rosyclouds?u=xxm233381&x=Q1UiVJnV8iLKR3On0oPw86_CXBD644m0nnnr_' wayOrCut = WayOrCut(url, Urls.preUrl8128) way = TheWay() dungeons=Dungeons() wayOrCut.getHtml() # wayOrCut.getOperationAndGo("") # while 1==1: # way.cutMonsterByWay(wayOrCut, way.way4Plus4, "\*【") # wayOrCut.getWayAndGo(4) # way.cutMonsterByWay(wayOrCut,way.way5Plus5,"\*【") # wayOrCut.getWayAndGo(6) #dungeons.bingJingTa(wayOrCut) #dungeons.huaShengShi(wayOrCut) # dungeons.bianYiZhuLin(wayOrCut) # print(wayOrCut.getOperation("刷新")) # wayOrCut.getHtml() print(wayOrCut.matchByhand(u'金豆'))
class DailyTask(threading.Thread): def __init__(self, wayOrCut, mark): threading.Thread.__init__(self) self.mark = mark self.wayOrCut = wayOrCut self.dungeons = Dungeons() self.option = TheOption() self.dungeons = Dungeons() def run(self): #1 每日领奖 self.wayOrCut.getHtml() self.wayOrCut.gameContinue() self.dungeons.common(self.wayOrCut, self.option.dailyDust) self.dungeons.watchMovie(self.wayOrCut) #2副本 if self.mark == 1: self.dungeons.common(self.wayOrCut, self.option.jingDouDong) self.dungeons.tongTianTa(self.wayOrCut, '【') self.dungeons.common(self.wayOrCut, self.option.tongTianFu) self.dungeons.common(self.wayOrCut, self.option.tongTianFu) self.dungeons.guojia(self.wayOrCut) self.dungeons.couple(self.wayOrCut) self.wayOrCut.gameContinue() self.dungeons.allDungeonsAuto(self.wayOrCut, '回马') #3 押镖 i = 0 while i < 3: i += 1 self.dungeons.commonBySkill(self.wayOrCut, self.option.yaBiao, "举火") #5 赏金降妖夫国家 self.dungeons.xiangYao(self.wayOrCut) self.dungeons.shangJing(self.wayOrCut)
def test_fuben(self): wayOrCut = WayOrCut(Urls.fullUrl828, Urls.preUrl8128) dungeons = Dungeons() dungeons.allDungeonsAuto(wayOrCut, SKILL_SINGLE)
def test_xinshouqu_cailiaoguai(self): # 初始化 wayOrCut = WayOrCut(Urls.fullUrl828, Urls.preUrl8128) dungeons = Dungeons() # 打新手区 dungeons.xinshouqu(wayOrCut)