From 10b43b44fad8e27f20b5f0f249d67cc0c7bdcff9 Mon Sep 17 00:00:00 2001 From: LmeSzinc Date: Wed, 13 May 2020 11:05:26 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=E4=BF=AE=E5=A4=8D=E6=BC=94=E4=B9=A0?= =?UTF-8?q?=E6=95=8C=E4=BA=BA=E6=8E=92=E5=BA=8F,=20=E7=8E=B0=E5=9C=A8?= =?UTF-8?q?=E7=9B=B8=E5=90=8C=E6=9D=83=E9=87=8D=E6=97=B6=E4=BC=9A=E4=BC=98?= =?UTF-8?q?=E5=85=88=E6=9C=80=E5=B7=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/exercise/opponent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/exercise/opponent.py b/module/exercise/opponent.py index 2152b306be..fe47eff68d 100644 --- a/module/exercise/opponent.py +++ b/module/exercise/opponent.py @@ -81,6 +81,6 @@ def _opponent_fleet_check_all(self): appear_button=EXERCISE_PREPARATION, skip_first_screenshot=True) def _opponent_sort(self): - priority = np.argsort([x.priority for x in self.opponents])[::-1] + priority = np.argsort([- x.priority for x in self.opponents]) logger.attr('Order', str(priority)) return priority