Add Wintertodt Aoe

This commit is contained in:
Seth
2018-01-14 13:23:42 -06:00
parent 958d2558f5
commit efeaa21e93
4 changed files with 20 additions and 1 deletions

View File

@@ -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
*/

View File

@@ -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);
/**

View File

@@ -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",

View File

@@ -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;