commit a34d307382de5a14aa1efaddb2207b2a8bec392b parent 0f334d6f8042e1e2e728114693fa9bfb8065bd69 Author: Wim Dupont <wim@wimdupont.com> Date: Thu, 12 Jan 2023 13:23:58 +0100 add phantom muspah boss Diffstat:
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/sxcy/sxcybot/client/HiScoreClient.java b/src/main/java/com/sxcy/sxcybot/client/HiScoreClient.java @@ -32,7 +32,7 @@ public class HiScoreClient { private static final int STATS_START = 0; private static final int STATS_END = 23; private static final int BOSS_START = 38; - private static final int BOSS_END = 87; + private static final int BOSS_END = 88; @NonNull private final OsrsHiscoreBossService osrsHiscoreBossService; diff --git a/src/main/resources/db/migration/V1_9__phantom_muspah_boss.sql b/src/main/resources/db/migration/V1_9__phantom_muspah_boss.sql @@ -0,0 +1,5 @@ +UPDATE osrs_hiscore_boss SET order_value = order_value+1 WHERE order_value > 68; + +INSERT INTO osrs_hiscore_boss +VALUES +(UUID(),"Phantom Muspah", 2, 69, 1); diff --git a/src/test/java/com/sxcy/sxcybot/client/HiScoreClientTest.java b/src/test/java/com/sxcy/sxcybot/client/HiScoreClientTest.java @@ -84,7 +84,7 @@ class HiScoreClientTest { .build(), OsrsHiscoreBoss.builder() .name("Wintertodt") - .orderValue(85) + .orderValue(86) .build() );