mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 04:39:32 +00:00
Add Config Options for FireBurst
This commit is contained in:
parent
2a4cf0bd1d
commit
3b9f8b5f2c
|
@ -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 "
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)."
|
||||
|
|
Loading…
Reference in a new issue