From 0e5702abbb346139db5795735f6da029c0dcb98d Mon Sep 17 00:00:00 2001 From: Lexer747 Date: Mon, 22 Jun 2026 17:50:38 +0100 Subject: [PATCH 1/2] Fix dragon crossbow for LMS In the runelite shell: log.info("Dragon crossbow (Last Man Standing) {}", itemManager.getItemStats(33460).getEquipment().getAspeed()); Currently errors with a null pointer exception. --- src/main/java/com/attacktimer/AttackTimerMetronomePlugin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/attacktimer/AttackTimerMetronomePlugin.java b/src/main/java/com/attacktimer/AttackTimerMetronomePlugin.java index c2bed84..2cdd402 100644 --- a/src/main/java/com/attacktimer/AttackTimerMetronomePlugin.java +++ b/src/main/java/com/attacktimer/AttackTimerMetronomePlugin.java @@ -150,6 +150,7 @@ public enum AttackState private static final int ECHO_VENATOR_BOW_WEAPON_ID = 30434; private static final int VENATOR_BOW_WEAPON_ID = 27610; private static final int BLACK_GEM_KERIS_ID = 30891; // https://oldschool.runescape.wiki/w/Keris_partisan_of_amascut + private static final int DRAGON_CROSSBOW_LMS_ID = 33460; // https://oldschool.runescape.wiki/w/Dragon_crossbow_(Last_Man_Standing) // Add other weapons here if in the Runelite dev shell this prints a different value to it's actual speed: // @@ -158,6 +159,7 @@ public enum AttackState private static final Map NON_STANDARD_ATTACK_SPEEDS = new ImmutableMap.Builder() .put(BLACK_GEM_KERIS_ID, 4) + .put(DRAGON_CROSSBOW_LMS_ID, 6) .build(); // These animations are the ones which exceed the duration of their attack cooldown From 4c4824cf16212769332cbdd634e8db796b51283e Mon Sep 17 00:00:00 2001 From: Lexer747 Date: Mon, 22 Jun 2026 18:02:48 +0100 Subject: [PATCH 2/2] ci? --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82ebd1c..c88623d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: [ push, pull_request ] jobs: build: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest permissions: contents: read