sxcybot

Discord bot for OSRS based channels
git clone git://git.wimdupont.com/sxcybot.git
Log | Files | Refs | README | LICENSE

commit 06d9b1cb06c70c14f69923b21fc54836cde9e88c
parent 57e3e7150fb9c6ee11726033cc6c2c128316ac52
Author: WimDupont <WimDupont@users.noreply.gitlab.com>
Date:   Thu,  6 Jan 2022 20:03:39 +0100

update bosses: Nex

Diffstat:
Msrc/main/java/com/sxcy/sxcybot/client/HiScoreClient.java | 2+-
Asrc/main/resources/db/migration/V1_5__nex_boss.sql | 5+++++
2 files changed, 6 insertions(+), 1 deletion(-)

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 = 36; - private static final int BOSS_END = 82; + private static final int BOSS_END = 83; @NonNull private final OsrsHiscoreBossService osrsHiscoreBossService; diff --git a/src/main/resources/db/migration/V1_5__nex_boss.sql b/src/main/resources/db/migration/V1_5__nex_boss.sql @@ -0,0 +1,5 @@ +UPDATE osrs_hiscore_boss SET order_value = order_value+1 WHERE order_value > 62; + +INSERT INTO osrs_hiscore_boss +VALUES +(UUID(),"Nex", 3, 63, 1);