diff --git a/resource/tasks.json b/resource/tasks.json index 3850a8cee7..1ab79df102 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -2,6 +2,7 @@ "SlowlySwipeToTheLeft": { "algorithm": "JustReturn", "action": "Swipe", + "postDelay": 200, "specificRect": [ 300, 310, @@ -18,7 +19,8 @@ "rectMove_Doc": "滑动终点", "specialParams": [ 200, - 1 + 1, + -1 ], "specialParams_Doc": [ "滑动 duration", @@ -32,6 +34,7 @@ "SlowlySwipeToTheRight": { "algorithm": "JustReturn", "action": "Swipe", + "postDelay": 200, "specificRect": [ 880, 310, @@ -46,7 +49,8 @@ ], "specialParams": [ 200, - 1 + 1, + -1 ], "next": [ "#next" @@ -69,6 +73,11 @@ 100, 100 ], + "specialParams": [ + 150, + 0, + 0.5 + ], "next": [ "#next" ], @@ -90,6 +99,11 @@ 200, 100 ], + "specialParams": [ + 150, + 0, + 0.5 + ], "next": [ "#next" ], @@ -6132,13 +6146,13 @@ "algorithm": "JustReturn", "preDelay": 200, "postDelay": 100, - "Doc": "pre 是从点击干员,到干员信息弹出来等待的时间;rear 是干员上场,到设置朝向之间等待的时间" + "Doc": "pre 是从点击干员,到干员信息弹出来等待的时间;post 是干员上场,到设置朝向之间等待的时间" }, "BattleSwipeOper": { "algorithm": "JustReturn", "preDelay": 200, "postDelay": 50, - "Doc": "pre 是将干员滑动到场上的 duration 系数;rear 是设置干员朝向滑动的 duration", + "Doc": "pre 是将干员滑动到场上的 duration 系数;post 是设置干员朝向滑动的 duration", "specialParams": [ 200 ], diff --git a/src/MeoAssistant/Controller.cpp b/src/MeoAssistant/Controller.cpp index 2450dfb4db..caaeaaf40c 100644 --- a/src/MeoAssistant/Controller.cpp +++ b/src/MeoAssistant/Controller.cpp @@ -1115,7 +1115,7 @@ bool asst::Controller::swipe_without_scale(const Point& p1, const Point& p2, int const auto& opt = Configer.get_options(); if (m_minitouch_enabled && m_minitouch_avaiable) { - constexpr int MoveInterval = 1; + constexpr int MoveInterval = 5; input_to_minitouch(MinitouchCmd::down(static_cast(x1 * m_minitouch_props.x_scaling), static_cast(m_minitouch_props.y_scaling * y1), true, MoveInterval)); if (duration == 0) {