fix(move): Do not slow walk on teleport
This commit is contained in:
@@ -60,6 +60,8 @@ class IChar:
|
||||
custom_mouse.move(x, y, duration=(random.random() * 0.03 + 0.05))
|
||||
mouse.click(button="left")
|
||||
wait(0.02, 0.03)
|
||||
if self._config.char["slow_walk"]:
|
||||
wait(1.2, 1.4)
|
||||
|
||||
def tp_town(self):
|
||||
keyboard.send(self._char_config["tp"])
|
||||
|
||||
@@ -237,8 +237,6 @@ class Pather:
|
||||
x_m, y_m = self._screen.convert_abs_to_monitor(node_pos_abs)
|
||||
char.move((x_m, y_m))
|
||||
last_move = time.time()
|
||||
if self._config.char["slow_walk"]:
|
||||
wait(1.2, 1.4)
|
||||
return True
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user