mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +00:00
AirSwipe's charge factor is configurable
This commit is contained in:
parent
6ddd95dbd9
commit
68270bad16
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue