From 2fd3ce763ac07b3601ce49d172bb3e1cccd3152a Mon Sep 17 00:00:00 2001 From: aeon0 Date: Mon, 8 Nov 2021 08:48:44 +0100 Subject: [PATCH 1/2] doc(char): Add attack sequence params to docs --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index cf16137..6b0d5fe 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,9 @@ cta_available | 0: no cta available, 1: cta is available and should be used duri weapon_switch | Hotkey for "weapon switch" (only needed if cta_available=1) battle_order | Hotkey for battle order from cta (only needed if cta_available=1) battle_command | Hotkey for battle command from cta (only needed if cta_available=1) +atk_len_pindle | Attack length for hdin or number of attack sequences for sorc when fighting pindle +atk_len_eldritch | Attack length for hdin or number of attack sequences for sorc when fighting eldritch +atk_len_shenk | Attack length for hdin or number of attack sequences for sorc when fighting shenk [sorceress] | Descriptions --------------------------------|--------------------------------------------- From 79edfaf1635d7d572eb66741bc86511aef24e4ee Mon Sep 17 00:00:00 2001 From: mgleed Date: Mon, 8 Nov 2021 08:51:54 -0500 Subject: [PATCH 2/2] add brief left click hold to avoid one type of d2r ctrl+click stashing bug --- src/ui_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui_manager.py b/src/ui_manager.py index 56883f1..e892ff1 100644 --- a/src/ui_manager.py +++ b/src/ui_manager.py @@ -278,7 +278,9 @@ class UiManager(): x_m, y_m = self._screen.convert_screen_to_monitor(slot_pos) custom_mouse.move(x_m, y_m, duration=(random.random() * 0.2 + 0.3), randomize=5) wait(0.1, 0.15) - mouse.click(button="left") + mouse.press(button="left") + wait(0.25, 0.35) + mouse.release(button="left") wait(0.4, 0.6) keyboard.send('ctrl', do_press=False) Logger.debug("Check if stash is full")