Add Wintertodt Aoe
This commit is contained in:
@@ -52,6 +52,8 @@ public class ProjectileID
|
||||
public static final int CORPOREAL_BEAST_AOE = 315;
|
||||
public static final int CORPOREAL_BEAST_DARK_CORE_AOE = 319;
|
||||
|
||||
public static final int WINTERTODT_SNOW_FALL_AOE = 501;
|
||||
|
||||
/**
|
||||
* missing: marble gargoyle, superior dark beast
|
||||
*/
|
||||
|
||||
@@ -81,7 +81,12 @@ public enum AoeProjectileInfo
|
||||
* missing ids and length, please help
|
||||
*/
|
||||
OLM_FALLING_CRYSTAL(ProjectileID.OLM_FALLING_CRYSTAL_AOE, 2400, 3),
|
||||
OLM_BURNING(ProjectileID.OLM_BURNING_AOE, 2400, 3);
|
||||
OLM_BURNING(ProjectileID.OLM_BURNING_AOE, 2400, 3),
|
||||
|
||||
/**
|
||||
* the AOE of the Wintertodt snow that falls
|
||||
*/
|
||||
WINTERTODT_SNOW_FALL(ProjectileID.WINTERTODT_SNOW_FALL_AOE, 4000, 3);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -155,6 +155,16 @@ public interface AoeWarningConfig extends Config
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "wintertodt",
|
||||
name = "Wintertodt Snow Fall",
|
||||
description = "Configures whether or not AOE Projectile Warnings for the Wintertodt snow fall are displayed"
|
||||
)
|
||||
default boolean isWintertodtEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "outline",
|
||||
name = "Display Outline",
|
||||
|
||||
@@ -143,6 +143,8 @@ public class AoeWarningPlugin extends Plugin
|
||||
case CORPOREAL_BEAST:
|
||||
case CORPOREAL_BEAST_DARK_CORE:
|
||||
return config.isCorpEnabled();
|
||||
case WINTERTODT_SNOW_FALL:
|
||||
return config.isWintertodtEnabled();
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user