config changes

* Change Abilities.Earth.Passive.Duration to Abilities.Earth.Passive.DensityShift.Duration
* Add Enabled option for BlueFlames fire passive
* Fix Fire passive path
This commit is contained in:
Simp 2020-06-27 20:06:07 -04:00
parent 6c5067b8e2
commit 63e0f9a58b
3 changed files with 5 additions and 4 deletions

View file

@ -232,7 +232,7 @@ public class PKListener implements Listener {
CoreAbility bf = CoreAbility.getAbility(BlueFlames.class);
if (bf != null && bPlayer.canBendPassive(bf) && bPlayer.canUsePassive(bf) && ability instanceof FireAbility && ability.hasAttribute(Attribute.DAMAGE)) {
ability.addAttributeModifier(Attribute.DAMAGE, ConfigManager.getConfig().getDouble("Abilities.Fire.Passives.BlueFlames.DamageMultiplier"), AttributeModifier.MULTIPLICATION);
ability.addAttributeModifier(Attribute.DAMAGE, ConfigManager.getConfig().getDouble("Abilities.Fire.Passive.BlueFlames.DamageMultiplier"), AttributeModifier.MULTIPLICATION);
}
}

View file

@ -1171,8 +1171,8 @@ public class ConfigManager {
config.addDefault("Abilities.Water.IceBullet.Cooldown", 10000);
config.addDefault("Abilities.Water.IceBullet.ShotCooldown", 500);
config.addDefault("Abilities.Earth.Passive.Duration", 2500);
config.addDefault("Abilities.Earth.Passive.DensityShift.Enabled", true);
config.addDefault("Abilities.Earth.Passive.DensityShift.Duration", 2500);
config.addDefault("Abilities.Earth.Passive.FerroControl.Enabled", true);
config.addDefault("Abilities.Earth.Catapult.Enabled", true);
@ -1331,7 +1331,8 @@ public class ConfigManager {
config.addDefault("Abilities.Earth.EarthPillars.Damage.Value", 2);
config.addDefault("Abilities.Earth.EarthPillars.FallThreshold", 12);
config.addDefault("Abilities.Fire.Passives.BlueFlames.DamageMultiplier", 1.3);
config.addDefault("Abilities.Fire.Passive.BlueFlames.Enabled", true);
config.addDefault("Abilities.Fire.Passive.BlueFlames.DamageMultiplier", 1.3);
config.addDefault("Abilities.Fire.Blaze.Enabled", true);
config.addDefault("Abilities.Fire.Blaze.Arc", 14);

View file

@ -95,7 +95,7 @@ public class DensityShift extends EarthAbility implements PassiveAbility {
}
public static long getDuration() {
return ConfigManager.getConfig().getLong("Abilities.Earth.Passive.Duration");
return ConfigManager.getConfig().getLong("Abilities.Earth.Passive.DensityShift.Duration");
}
@Override