Add fight cave plugin
This commit is contained in:
@@ -92,4 +92,8 @@ public final class AnimationID
|
||||
public static final int MINING_MOTHERLODE_INFERNAL = 0; // placeholder, unknown
|
||||
public static final int HERBLORE_POTIONMAKING = 363; //used for both herb and secondary
|
||||
public static final int MAGIC_CHARGING_ORBS = 726;
|
||||
|
||||
// NPC animations
|
||||
public static final int TZTOK_JAD_MAGIC_ATTACK = 2656;
|
||||
public static final int TZTOK_JAD_RANGE_ATTACK = 2652;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
package net.runelite.api;
|
||||
|
||||
import java.awt.Canvas;
|
||||
|
||||
import net.runelite.api.widgets.Widget;
|
||||
import net.runelite.api.widgets.WidgetInfo;
|
||||
|
||||
@@ -143,4 +144,6 @@ public interface Client
|
||||
void setGameDrawingMode(int gameDrawingMode);
|
||||
|
||||
void refreshChat();
|
||||
|
||||
Widget getViewportWidget();
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ class WidgetID
|
||||
static final int FIXED_VIEWPORT_GROUP_ID = 548;
|
||||
static final int RESIZABLE_VIEWPORT_OLD_SCHOOL_BOX_GROUP_ID = 161;
|
||||
static final int RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID = 164;
|
||||
static final int PRAYER_GROUP_ID = 541;
|
||||
|
||||
static class PestControl
|
||||
{
|
||||
@@ -102,4 +103,37 @@ class WidgetID
|
||||
static final int RESIZABLE_VIEWPORT_OLD_SCHOOL_BOX = 12;
|
||||
static final int RESIZABLE_VIEWPORT_BOTTOM_LINE = 12;
|
||||
}
|
||||
|
||||
static class Prayer
|
||||
{
|
||||
static final int THICK_SKIN = 4;
|
||||
static final int BURST_OF_STRENGTH = 5;
|
||||
static final int CLARITY_OF_THOUGHT = 6;
|
||||
static final int SHARP_EYE = 22;
|
||||
static final int MYSTIC_WILL = 23;
|
||||
static final int ROCK_SKIN = 7;
|
||||
static final int SUPERHUMAN_STRENGTH = 8;
|
||||
static final int IMPROVED_REFLEXES = 9;
|
||||
static final int RAPID_RESTORE = 10;
|
||||
static final int RAPID_HEAL = 11;
|
||||
static final int PROTECT_ITEM = 12;
|
||||
static final int HAWK_EYE = 24;
|
||||
static final int MYSTIC_LORE = 25;
|
||||
static final int STEEL_SKIN = 13;
|
||||
static final int ULTIMATE_STRENGTH = 14;
|
||||
static final int INCREDIBLE_REFLEXES = 15;
|
||||
static final int PROTECT_FROM_MAGIC = 16;
|
||||
static final int PROTECT_FROM_MISSILES = 17;
|
||||
static final int PROTECT_FROM_MELEE = 18;
|
||||
static final int EAGLE_EYE = 26;
|
||||
static final int MYSTIC_MIGHT = 27;
|
||||
static final int RETRIBUTION = 19;
|
||||
static final int REDEMPTION = 20;
|
||||
static final int SMITE = 21;
|
||||
static final int PRESERVE = 32;
|
||||
static final int CHIVALRY = 28;
|
||||
static final int PIETY = 29;
|
||||
static final int RIGOUR = 30;
|
||||
static final int AUGURY = 31;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,13 +71,16 @@ public enum WidgetInfo
|
||||
|
||||
FIXED_VIEWPORT(WidgetID.FIXED_VIEWPORT_GROUP_ID, WidgetID.Viewport.FIXED_VIEWPORT),
|
||||
RESIZABLE_VIEWPORT_OLD_SCHOOL_BOX(WidgetID.RESIZABLE_VIEWPORT_OLD_SCHOOL_BOX_GROUP_ID, WidgetID.Viewport.RESIZABLE_VIEWPORT_OLD_SCHOOL_BOX),
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.Viewport.RESIZABLE_VIEWPORT_BOTTOM_LINE);
|
||||
RESIZABLE_VIEWPORT_BOTTOM_LINE(WidgetID.RESIZABLE_VIEWPORT_BOTTOM_LINE_GROUP_ID, WidgetID.Viewport.RESIZABLE_VIEWPORT_BOTTOM_LINE),
|
||||
|
||||
PRAYER_PROTECT_FROM_MAGIC(WidgetID.PRAYER_GROUP_ID, WidgetID.Prayer.PROTECT_FROM_MAGIC),
|
||||
PRAYER_PROTECT_FROM_MISSILES(WidgetID.PRAYER_GROUP_ID, WidgetID.Prayer.PROTECT_FROM_MISSILES);
|
||||
|
||||
|
||||
private final int groupId;
|
||||
private final int childId;
|
||||
|
||||
private WidgetInfo(int groupId, int childId)
|
||||
WidgetInfo(int groupId, int childId)
|
||||
{
|
||||
this.groupId = groupId;
|
||||
this.childId = childId;
|
||||
|
||||
Reference in New Issue
Block a user