|
|
@@ -101,12 +101,15 @@ while True:
|
|
|
tap(*locations[0])
|
|
|
if name in ["auto_battle", "ok"]:
|
|
|
time.sleep(1.5)
|
|
|
+ continue
|
|
|
if name == "attack":
|
|
|
if len(locations) == 1:
|
|
|
element = first_template(tpl_mixed)
|
|
|
is_mixed = element is not None
|
|
|
tap(*locations[0])
|
|
|
- elif len(locations) == 2:
|
|
|
+ continue
|
|
|
+
|
|
|
+ if len(locations) == 2:
|
|
|
element = first_template(tpl_mixed)
|
|
|
if element:
|
|
|
is_mixed = True
|
|
|
@@ -117,7 +120,7 @@ while True:
|
|
|
element = first_template(tpl_earth)
|
|
|
|
|
|
tap(element[0], locations[0][1])
|
|
|
-
|
|
|
+ continue
|
|
|
print("...")
|
|
|
except Exception as e:
|
|
|
print(f"error: {e}")
|