mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
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:
parent
6c5067b8e2
commit
63e0f9a58b
3 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue