AirSwipe's charge factor is configurable

This commit is contained in:
MistPhizzle 2014-07-18 12:55:22 -04:00
parent 6ddd95dbd9
commit 68270bad16
3 changed files with 3 additions and 1 deletions

View file

@ -176,6 +176,7 @@ public class ConfigManager {
config.addDefault("Abilities.Air.AirSwipe.Arc", 20);
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.Tornado.Radius", 10);
config.addDefault("Abilities.Air.Tornado.Height", 25);

View file

@ -46,7 +46,7 @@ public class AirSwipe {
private static double speed = config.getDouble("Abilities.Air.AirSwipe.Speed");
private static byte full = AirBlast.full;
private static long maxchargetime = 3000;
private static double maxfactor = 3;
private static double maxfactor = config.getDouble("Abilities.Air.AirSwipe.ChargeFactor");
private double speedfactor;

View file

@ -128,6 +128,7 @@ Abilities:
Arc: 20
Speed: 25
Cooldown: 1500
ChargeFactor: 3
Tornado:
Enabled: true
Description: "To use, simply sneak (default: shift). This will create a swirling vortex at the targeted location. Any creature or object caught in the vortex will be launched up and out in some random direction. If another player gets caught in the vortex, the launching effect is minimal. Tornado can also be used to transport the user. If the user gets caught in his/her own tornado, his/her movements are much more manageable. Provided the user doesn't fall out of the vortex, it will take him to a maximum height and move him in the general direction he/she is looking. Skilled airbenders can scale anything with this ability."