diff --git a/src/com/projectkorra/ProjectKorra/ConfigManager.java b/src/com/projectkorra/ProjectKorra/ConfigManager.java index cd83b4a2..340b1081 100644 --- a/src/com/projectkorra/ProjectKorra/ConfigManager.java +++ b/src/com/projectkorra/ProjectKorra/ConfigManager.java @@ -209,7 +209,8 @@ public class ConfigManager { config.addDefault("Abilities.Air.AirSwipe.Speed", 25); config.addDefault("Abilities.Air.AirSwipe.Cooldown", 1500); config.addDefault("Abilities.Air.AirSwipe.ChargeFactor", 3); - + config.addDefault("Abilities.Air.AirSwipe.MaxChargeTime", 3000); + config.addDefault("Abilities.Air.Suffocate.Enabled", true); config.addDefault("Abilities.Air.Suffocate.Description", "This ability is one of the most dangerous abilities an Airbender possesses. To use, simply look at an entity and hold shift. The entity will begin taking damage as you extract the air from their lungs. Any bender caught in this sphere will only be able to use basic moves, such as AirSwipe, WaterManipulation, FireBlast, or EarthBlast. An entity can be knocked out of the sphere by certain bending arts, and your attention will be disrupted if you are hit by bending."); config.addDefault("Abilities.Air.Suffocate.CanBeUsedOnUndeadMobs", true); diff --git a/src/com/projectkorra/ProjectKorra/airbending/AirSwipe.java b/src/com/projectkorra/ProjectKorra/airbending/AirSwipe.java index 67ca5dbc..1aaf2b9e 100644 --- a/src/com/projectkorra/ProjectKorra/airbending/AirSwipe.java +++ b/src/com/projectkorra/ProjectKorra/airbending/AirSwipe.java @@ -43,7 +43,7 @@ public class AirSwipe { private static double speed = config.getDouble("Abilities.Air.AirSwipe.Speed"); private static double maxfactor = config.getDouble("Abilities.Air.AirSwipe.ChargeFactor"); private static byte full = AirBlast.full; - private static long maxchargetime = 3000; + private static long maxchargetime = config.getLong("Abilities.Air.AirSwipe.MaxChargeTime"); private double speedfactor;