From bd36bcab2567da555c216dd301e777833db2e6e8 Mon Sep 17 00:00:00 2001 From: aeon0 Date: Tue, 9 Nov 2021 18:03:49 +0100 Subject: [PATCH] fix(char): Increase cast rate to be on the safe side --- src/char/i_char.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/char/i_char.py b/src/char/i_char.py index fbc19bd..85ba784 100644 --- a/src/char/i_char.py +++ b/src/char/i_char.py @@ -27,7 +27,8 @@ class IChar: self._screen = screen self._config = Config() self._last_tp = time.time() - self._cast_duration = self._char_config["casting_frames"] * 0.04 + 0.04 + # It actually is 0.04s per frame but many people have issues with it (because of lag?) + self._cast_duration = self._char_config["casting_frames"] * 0.055 + 0.06 def select_by_template(self, template_type: str) -> bool: Logger.debug(f"Select {template_type}")