From be42942c1f23601e08e7b38f4f9c1f18d985748c Mon Sep 17 00:00:00 2001 From: noremac201 Date: Fri, 12 May 2017 18:58:57 -0500 Subject: [PATCH] added varbits poison and spec along with another varbits constructor --- .../main/java/net/runelite/api/Varbits.java | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/runelite-api/src/main/java/net/runelite/api/Varbits.java b/runelite-api/src/main/java/net/runelite/api/Varbits.java index 98e60d124e..28dd3ba7b8 100644 --- a/runelite-api/src/main/java/net/runelite/api/Varbits.java +++ b/runelite-api/src/main/java/net/runelite/api/Varbits.java @@ -37,7 +37,20 @@ public enum Varbits /** * Prayers */ - PRAYER_THICK_SKIN(4104, 83, 0, 0); + PRAYER_THICK_SKIN(4104, 83, 0, 0), + + /** + * Special Attack + */ + SPECIAL_ATTACK_PERCENT(300, 31, 0), + SPECIAL_ATTACK_ENABLED(301, 0, 0), + + /** + * Poison + * Venom - 1,000,000 (6dmg/hit) - 1,000,008 (20 dmg/hit) + */ + POISON(102, 0, 5), + VENOM(102, 6, 9); /** * varbit id @@ -51,6 +64,11 @@ public enum Varbits private final int leastSignificantBit; private final int mostSignificantBit; + private Varbits(int index, int leastSignificantBit, int mostSignificantBit) + { + this(-1, index, leastSignificantBit, mostSignificantBit); + } + private Varbits(int id, int index, int leastSignificantBit, int mostSignificantBit) { this.id = id;