|
@@ -133,6 +133,7 @@ class ScriptTask(GameUi, SoulsTidyAssets):
|
|
|
continue
|
|
continue
|
|
|
# 出现神赐, 就点击然后消失,
|
|
# 出现神赐, 就点击然后消失,
|
|
|
if self.appear(self.I_ST_GOD_PRESENT):
|
|
if self.appear(self.I_ST_GOD_PRESENT):
|
|
|
|
|
+ logger.info('God present appear')
|
|
|
sleep(0.5)
|
|
sleep(0.5)
|
|
|
self.screenshot()
|
|
self.screenshot()
|
|
|
if not self.appear(self.I_ST_GOD_PRESENT):
|
|
if not self.appear(self.I_ST_GOD_PRESENT):
|
|
@@ -140,12 +141,13 @@ class ScriptTask(GameUi, SoulsTidyAssets):
|
|
|
while 1:
|
|
while 1:
|
|
|
self.screenshot()
|
|
self.screenshot()
|
|
|
if not self.appear(self.I_ST_GOD_PRESENT):
|
|
if not self.appear(self.I_ST_GOD_PRESENT):
|
|
|
|
|
+ logger.info('God present disappear')
|
|
|
break
|
|
break
|
|
|
if self.click(self.C_ST_GOD_PRSENT, interval=1):
|
|
if self.click(self.C_ST_GOD_PRSENT, interval=1):
|
|
|
continue
|
|
continue
|
|
|
sleep(0.5)
|
|
sleep(0.5)
|
|
|
break
|
|
break
|
|
|
- if self.appear_then_click(self.I_ST_DONATE, interval=3.5):
|
|
|
|
|
|
|
+ if self.appear_then_click(self.I_ST_DONATE, interval=5.5):
|
|
|
continue
|
|
continue
|
|
|
logger.info('Donate one')
|
|
logger.info('Donate one')
|
|
|
|
|
|