Forráskód Böngészése

click actual position, instead of relative position

Richard Köhl 1 éve
szülő
commit
e9f1454c49
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      dungeon.py

+ 2 - 2
dungeon.py

@@ -119,7 +119,7 @@ while True:
                         angus = first_template(tpl_angus2)
                         if angus:
                             tap("remove angus", angus)
-                            tap("add moloch", angus[0] + 500, angus[1])
+                            tap("add moloch", moloch)
                         else:
                             print(
                                 "######### seems like angus is dead already. stopping"
@@ -136,7 +136,7 @@ while True:
                             moloch = first_template(tpl_moloch2)
                             if moloch:
                                 tap("remove moloch", moloch)
-                                tap("add angus", moloch[0] - 500, moloch[1])
+                                tap("add angus", angus)
                             else:
                                 print(
                                     "######### seems like moloch is dead already. stopping"