Added demonic gorilla AoE warnings
This commit is contained in:
@@ -114,7 +114,12 @@ public enum AoeProjectileInfo
|
|||||||
/**
|
/**
|
||||||
* Cerbs fire
|
* Cerbs fire
|
||||||
*/
|
*/
|
||||||
CERB_FIRE(ProjectileID.CERB_FIRE, 2);
|
CERB_FIRE(ProjectileID.CERB_FIRE, 2),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Demonic gorilla
|
||||||
|
*/
|
||||||
|
DEMONIC_GORILLA_BOULDER(ProjectileID.DEMONIC_GORILLA_BOULDER, 1);
|
||||||
|
|
||||||
private static final Map<Integer, AoeProjectileInfo> map = new HashMap<>();
|
private static final Map<Integer, AoeProjectileInfo> map = new HashMap<>();
|
||||||
|
|
||||||
|
|||||||
@@ -818,4 +818,41 @@ public interface AoeWarningConfig extends Config
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "demonicGorillaStub",
|
||||||
|
name = "Demonic Gorilla",
|
||||||
|
description = "",
|
||||||
|
position = 64,
|
||||||
|
parent = "npcStub"
|
||||||
|
)
|
||||||
|
default Stub demonicGorillaStub()
|
||||||
|
{
|
||||||
|
return new Stub();
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "demonicGorilla",
|
||||||
|
name = "Demonic Gorilla",
|
||||||
|
description = "Configures if Demonic Gorilla boulder tile markers are displayed",
|
||||||
|
parent = "demonicGorillaStub",
|
||||||
|
position = 65
|
||||||
|
)
|
||||||
|
default boolean isDemonicGorillaEnabled()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "demonicGorillaNotify",
|
||||||
|
name = "Demonic Gorilla Notify",
|
||||||
|
description = "Configures whether or not AoE Projectile Warnings for Demonic Gorilla boulders should trigger a notification",
|
||||||
|
parent = "demonicGorillaStub",
|
||||||
|
position = 66,
|
||||||
|
hide = "aoeNotifyAll"
|
||||||
|
)
|
||||||
|
default boolean isDemonicGorillaNotifyEnabled()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -330,6 +330,8 @@ public class AoeWarningPlugin extends Plugin
|
|||||||
return notify ? config.isDrakeNotifyEnabled() : config.isDrakeEnabled();
|
return notify ? config.isDrakeNotifyEnabled() : config.isDrakeEnabled();
|
||||||
case CERB_FIRE:
|
case CERB_FIRE:
|
||||||
return notify ? config.isCerbFireNotifyEnabled() : config.isCerbFireEnabled();
|
return notify ? config.isCerbFireNotifyEnabled() : config.isCerbFireEnabled();
|
||||||
|
case DEMONIC_GORILLA_BOULDER:
|
||||||
|
return notify ? config.isDemonicGorillaNotifyEnabled() : config.isDemonicGorillaEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user