diff --git a/resource/tasks.json b/resource/tasks.json index ad26409344..623c12ae99 100644 --- a/resource/tasks.json +++ b/resource/tasks.json @@ -6148,12 +6148,12 @@ "BattleUseOper": { "algorithm": "JustReturn", "preDelay": 200, - "postDelay": 100, + "postDelay": 150, "Doc": "pre 是从点击干员,到干员信息弹出来等待的时间;post 是干员上场,到设置朝向之间等待的时间" }, "BattleSwipeOper": { "algorithm": "JustReturn", - "preDelay": 200, + "preDelay": 500, "postDelay": 50, "Doc": "pre 是将干员滑动到场上的 duration 系数;post 是设置干员朝向滑动的 duration", "specialParams": [ diff --git a/src/MeoAssistant/Controller.cpp b/src/MeoAssistant/Controller.cpp index cdd13e4d74..e694be77df 100644 --- a/src/MeoAssistant/Controller.cpp +++ b/src/MeoAssistant/Controller.cpp @@ -1050,7 +1050,7 @@ bool asst::Controller::swipe_without_scale(const Point& p1, const Point& p2, int Minitoucher toucher(std::bind(&Controller::input_to_minitouch, this, std::placeholders::_1), m_minitouch_props); toucher.down(x1, y1); if (duration == 0) { - duration = 200; + duration = 150; } auto minitouch_move = [&](int _x1, int _y1, int _x2, int _y2, int _duration) { double accelerationx = acceleration_coef * static_cast(_x2 - _x1) / (_duration * _duration);