aoewarnings: Re-Added Superior Gargoyle avoidable ranged projectile. (#1079)
This commit is contained in:
committed by
Kyleeld
parent
289038d9db
commit
512d53d04b
@@ -948,4 +948,41 @@ public interface AoeWarningConfig extends Config
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "marbleGargoyleStub",
|
||||||
|
name = "Marble Gargoyle",
|
||||||
|
description = "",
|
||||||
|
position = 72,
|
||||||
|
parent = "npcStub"
|
||||||
|
)
|
||||||
|
default Stub marbleGarboyleStub()
|
||||||
|
{
|
||||||
|
return new Stub();
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "marbleGargoyle",
|
||||||
|
name = "MarbleGargoyle",
|
||||||
|
description = "Configures if Marble Gargoyle ranged attack tile markers are displayed",
|
||||||
|
parent = "marbleGargoyleStub",
|
||||||
|
position = 73
|
||||||
|
)
|
||||||
|
default boolean isMarbleGargoyleEnabled()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "marbleGargoyleNotify",
|
||||||
|
name = "Marble Gargoyle Notify",
|
||||||
|
description = "Configures whether or not AoE Projectile Warnings for Marble Gargoyle range attack should trigger a notification",
|
||||||
|
parent = "marbleGargoyleStub",
|
||||||
|
position = 73,
|
||||||
|
hide = "aoeNotifyAll"
|
||||||
|
)
|
||||||
|
default boolean isMarbleGargoyleNotifyEnabled()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -167,6 +167,8 @@ public class AoeWarningPlugin extends Plugin
|
|||||||
private boolean configCerbFireNotifyEnabled;
|
private boolean configCerbFireNotifyEnabled;
|
||||||
private boolean configDemonicGorillaEnabled;
|
private boolean configDemonicGorillaEnabled;
|
||||||
private boolean configDemonicGorillaNotifyEnabled;
|
private boolean configDemonicGorillaNotifyEnabled;
|
||||||
|
private boolean configMarbleGargoyleEnabled;
|
||||||
|
private boolean configMarbleGargoyleNotifyEnabled;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void startUp() throws Exception
|
protected void startUp() throws Exception
|
||||||
@@ -454,6 +456,8 @@ public class AoeWarningPlugin extends Plugin
|
|||||||
return notify ? this.configCerbFireNotifyEnabled : this.configCerbFireEnabled;
|
return notify ? this.configCerbFireNotifyEnabled : this.configCerbFireEnabled;
|
||||||
case DEMONIC_GORILLA_BOULDER:
|
case DEMONIC_GORILLA_BOULDER:
|
||||||
return notify ? this.configDemonicGorillaNotifyEnabled : this.configDemonicGorillaEnabled;
|
return notify ? this.configDemonicGorillaNotifyEnabled : this.configDemonicGorillaEnabled;
|
||||||
|
case MARBLE_GARGOYLE_AOE:
|
||||||
|
return notify ? this.configMarbleGargoyleNotifyEnabled : this.configMarbleGargoyleEnabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
@@ -510,6 +514,8 @@ public class AoeWarningPlugin extends Plugin
|
|||||||
this.configCerbFireNotifyEnabled = config.isCerbFireNotifyEnabled();
|
this.configCerbFireNotifyEnabled = config.isCerbFireNotifyEnabled();
|
||||||
this.configDemonicGorillaEnabled = config.isDemonicGorillaEnabled();
|
this.configDemonicGorillaEnabled = config.isDemonicGorillaEnabled();
|
||||||
this.configDemonicGorillaNotifyEnabled = config.isDemonicGorillaNotifyEnabled();
|
this.configDemonicGorillaNotifyEnabled = config.isDemonicGorillaNotifyEnabled();
|
||||||
|
this.configMarbleGargoyleEnabled = config.isMarbleGargoyleEnabled();
|
||||||
|
this.configMarbleGargoyleNotifyEnabled = config.isMarbleGargoyleNotifyEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void reset()
|
private void reset()
|
||||||
|
|||||||
Reference in New Issue
Block a user