mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Add Config Options for FireBurst
This commit is contained in:
parent
3b9f8b5f2c
commit
5755dd0322
3 changed files with 9 additions and 3 deletions
|
@ -437,6 +437,9 @@ public class ConfigManager {
|
||||||
+ "attacks and bending. Alternatively, pressing and holding "
|
+ "attacks and bending. Alternatively, pressing and holding "
|
||||||
+ "sneak creates a very small shield of fire, blocking most attacks. "
|
+ "sneak creates a very small shield of fire, blocking most attacks. "
|
||||||
+ "Creatures that contact this fire are ignited.");
|
+ "Creatures that contact this fire are ignited.");
|
||||||
|
config.addDefault("Abilities.Fire.FireShield.Radius", 3);
|
||||||
|
config.addDefault("Abilities.Fire.FireShield.DiscRadius", 1.5);
|
||||||
|
config.addDefault("Abilities.Fire.FireShield.Duration", 1000);
|
||||||
|
|
||||||
config.addDefault("Abilities.Fire.HeatControl.Enabled", true);
|
config.addDefault("Abilities.Fire.HeatControl.Enabled", true);
|
||||||
config.addDefault("Abilities.Fire.HeatControl.Description", "While this ability is selected, the firebender becomes impervious "
|
config.addDefault("Abilities.Fire.HeatControl.Description", "While this ability is selected, the firebender becomes impervious "
|
||||||
|
|
|
@ -24,9 +24,9 @@ public class FireShield {
|
||||||
private static Map<String, Long> cooldowns = new HashMap<String, Long>();
|
private static Map<String, Long> cooldowns = new HashMap<String, Long>();
|
||||||
|
|
||||||
private static long interval = 100;
|
private static long interval = 100;
|
||||||
private static long duration = 1000;
|
private static long duration = ProjectKorra.plugin.getConfig().getLong("Abilities.Fire.FireShield.Duration");
|
||||||
private static double radius = 3;
|
private static double radius = ProjectKorra.plugin.getConfig().getDouble("Abilities.Fire.FireShield.Radius");
|
||||||
private static double discradius = 1.5;
|
private static double discradius = ProjectKorra.plugin.getConfig().getDouble("Abilities.Fire.FireShield.DiscRadius");
|
||||||
private static boolean ignite = true;
|
private static boolean ignite = true;
|
||||||
|
|
||||||
private Player player;
|
private Player player;
|
||||||
|
|
|
@ -316,6 +316,9 @@ Abilities:
|
||||||
FireShield:
|
FireShield:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Description: "FireShield is a basic defensive ability. Clicking with this ability selected will create a small disc of fire in front of you, which will block most attacks and bending. Alternatively, pressing and holding sneak creates a very small shield of fire, blocking most attacks. Creatures that contact this fire are ignited."
|
Description: "FireShield is a basic defensive ability. Clicking with this ability selected will create a small disc of fire in front of you, which will block most attacks and bending. Alternatively, pressing and holding sneak creates a very small shield of fire, blocking most attacks. Creatures that contact this fire are ignited."
|
||||||
|
Radius: 3
|
||||||
|
DiscRadius: 1.5
|
||||||
|
Duration: 1000
|
||||||
HeatControl:
|
HeatControl:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Description: "While this ability is selected, the firebender becomes impervious to fire damage and cannot be ignited. If the user left-clicks with this ability, the targeted area will be extinguished, although it will leave any creature burning engulfed in flames. This ability can also cool lava. If this ability is used while targeting ice or snow, it will instead melt blocks in that area. Finally, sneaking with this ability will cook any food in your hand."
|
Description: "While this ability is selected, the firebender becomes impervious to fire damage and cannot be ignited. If the user left-clicks with this ability, the targeted area will be extinguished, although it will leave any creature burning engulfed in flames. This ability can also cool lava. If this ability is used while targeting ice or snow, it will instead melt blocks in that area. Finally, sneaking with this ability will cook any food in your hand."
|
||||||
|
|
Loading…
Reference in a new issue