mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-14 04:47:51 +00:00
AirSwipe - MaxChargeTime
Config Option: specifies how long it takes for charged AirSwipe to reach its maximum damage.
This commit is contained in:
parent
a4da9c5c4e
commit
012f8a9bd2
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue