Fix smokescreen ignoring cooldowns

This commit is contained in:
jedk1 2016-02-02 22:30:05 +00:00
parent ad285c57f7
commit 857bf0c050

View file

@ -26,6 +26,9 @@ public class Smokescreen extends ChiAbility {
public Smokescreen(Player player) {
super(player);
if (!bPlayer.canBend(this)) {
return;
}
this.cooldown = getConfig().getLong("Abilities.Chi.Smokescreen.Cooldown");
this.duration = getConfig().getInt("Abilities.Chi.Smokescreen.Duration");
this.radius = getConfig().getDouble("Abilities.Chi.Smokescreen.Radius");