Fix FireBlast damage

- Added the variable for FireBlast damage to be set
- Added getDayFactor to damage and a range variable in FireBlast
This commit is contained in:
Benford 2016-02-26 20:28:51 -05:00
parent 91b823084b
commit 054827986c

View file

@ -63,7 +63,7 @@ public class FireBlast extends FireAbility {
this.origin = location.clone();
this.direction = direction.clone().normalize();
this.range = getDayFactor(range);
this.damage *= 1.5;
this.damage = getDayFactor(damage);
start();
}
@ -78,6 +78,7 @@ public class FireBlast extends FireAbility {
}
setFields();
this.damage = getDayFactor(getConfig().getDouble("Abilities.Fire.FireBlast.Damage"));
this.safeBlocks = new ArrayList<>();
this.range = getDayFactor(this.range);
this.location = player.getEyeLocation();