diff --git a/src/com/projectkorra/ProjectKorra/ConfigManager.java b/src/com/projectkorra/ProjectKorra/ConfigManager.java index e0769c7d..5f632b08 100644 --- a/src/com/projectkorra/ProjectKorra/ConfigManager.java +++ b/src/com/projectkorra/ProjectKorra/ConfigManager.java @@ -416,6 +416,8 @@ public class ConfigManager { + "To use, press and hold sneak to charge your burst. " + "Once charged, you can either release sneak to launch a cone-shaped burst " + "of flames in front of you, or click to release the burst in a sphere around you. "); + config.addDefault("Abilities.Fire.FireBurst.Damage", 3); + config.addDefault("Abilities.Fire.FireBurst.ChargeTime", 2500); config.addDefault("Abilities.Fire.FireJet.Enabled", true); config.addDefault("Abilities.Fire.FireJet.Description", "This ability is used for a limited burst of flight for firebenders. Clicking with this " diff --git a/src/com/projectkorra/ProjectKorra/firebending/FireBurst.java b/src/com/projectkorra/ProjectKorra/firebending/FireBurst.java index 1dea9de3..33a4e511 100644 --- a/src/com/projectkorra/ProjectKorra/firebending/FireBurst.java +++ b/src/com/projectkorra/ProjectKorra/firebending/FireBurst.java @@ -21,8 +21,8 @@ public class FireBurst { private Player player; private long starttime; - private int damage = 3; - private long chargetime = 2500; + private int damage = ProjectKorra.plugin.getConfig().getInt("Abilities.Fire.FireBurst.Damage"); + private long chargetime = ProjectKorra.plugin.getConfig().getLong("Abilities.Fire.FireBurst.ChargeTime"); private double deltheta = 10; private double delphi = 10; private boolean charged = false; diff --git a/src/config.yml b/src/config.yml index edb1c1d0..5a662e8e 100644 --- a/src/config.yml +++ b/src/config.yml @@ -304,6 +304,8 @@ Abilities: FireBurst: Enabled: true Description: "FireBurst is a very powerful firebending ability. To use, press and hold sneak to charge your burst. Once charged, you can either release sneak to launch a cone-shaped burst of flames in front of you, or click to release the burst in a sphere around you." + ChargeTime: 2500 + Damage: 3 FireJet: Enabled: true Description: "This ability is used for a limited burst of flight for firebenders. Clicking with this ability selected will launch you in the direction you're looking, granting you controlled flight for a short time. This ability can be used mid-air to prevent falling to your death, but on the ground it can only be used if standing on a block that's ignitable (e.g. not snow or water)."