added xarpus to aoe warnings (#136)
This commit is contained in:
@@ -71,6 +71,8 @@ public class ProjectileID
|
|||||||
public static final int DEMONIC_GORILLA_MAGIC = 1304;
|
public static final int DEMONIC_GORILLA_MAGIC = 1304;
|
||||||
public static final int DEMONIC_GORILLA_BOULDER = 856;
|
public static final int DEMONIC_GORILLA_BOULDER = 856;
|
||||||
|
|
||||||
|
public static final int XARPUS_ACID = 1555;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* missing: marble gargoyle, superior dark beast
|
* missing: marble gargoyle, superior dark beast
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ package net.runelite.client.plugins.aoewarnings;
|
|||||||
import java.time.Duration;
|
import java.time.Duration;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import net.runelite.api.Projectile;
|
||||||
import net.runelite.api.ProjectileID;
|
import net.runelite.api.ProjectileID;
|
||||||
|
|
||||||
public enum AoeProjectileInfo
|
public enum AoeProjectileInfo
|
||||||
@@ -92,8 +94,12 @@ public enum AoeProjectileInfo
|
|||||||
/**
|
/**
|
||||||
* the AOE of the Wintertodt snow that falls
|
* the AOE of the Wintertodt snow that falls
|
||||||
*/
|
*/
|
||||||
WINTERTODT_SNOW_FALL(1310, 4000, 3);
|
WINTERTODT_SNOW_FALL(1310, 4000, 3),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* AOE of Xarpus throwing poison
|
||||||
|
*/
|
||||||
|
XARPUS_POISON_AOE(ProjectileID.XARPUS_ACID, 4000, 3);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The id of the projectile to trigger this AoE warning
|
* The id of the projectile to trigger this AoE warning
|
||||||
|
|||||||
@@ -194,6 +194,13 @@ public interface AoeWarningConfig extends Config
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "isXarpusEnabled",
|
||||||
|
name = "Xarpus",
|
||||||
|
description = "Configures whether or not AOE Projectile Warnings for Xarpus are displayed"
|
||||||
|
)
|
||||||
|
default boolean isXarpusEnabled() { return true; }
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "outline",
|
keyName = "outline",
|
||||||
name = "Display Outline",
|
name = "Display Outline",
|
||||||
|
|||||||
@@ -302,6 +302,8 @@ public class AoeWarningPlugin extends Plugin
|
|||||||
return config.isCorpEnabled();
|
return config.isCorpEnabled();
|
||||||
case WINTERTODT_SNOW_FALL:
|
case WINTERTODT_SNOW_FALL:
|
||||||
return config.isWintertodtEnabled();
|
return config.isWintertodtEnabled();
|
||||||
|
case XARPUS_POISON_AOE:
|
||||||
|
return config.isXarpusEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user