Finalized IceBlast

Finalized IceBlast and added Spray
This commit is contained in:
AlexTheCoder 2014-09-05 19:18:15 -04:00
parent 7aeca555ed
commit 6a6c0af30e
2 changed files with 5 additions and 1 deletions

View file

@ -228,7 +228,7 @@ public class ConfigManager {
config.addDefault("Abilities.Water.IceBlast.Enabled", true);
config.addDefault("Abilities.Water.IceBlast.Damage", 3);
config.addDefault("Abilities.Water.IceBlast.Range", 20);
config.addDefault("Abilities.Water.IceBlast.Description", "This is one of the most powerful abilities available to Waterbenders. NOT COMPLETE DESC FOR TESTING PURPOSES ONLY!");
config.addDefault("Abilities.Water.IceBlast.Description", "Fires an explosive burst of ice at the opponent, spraying ice and snow around it. Requires a source of ice to use, crouch to select it, and then left click to fire.");
config.addDefault("Abilities.Water.IceSpike.Enabled", true);
config.addDefault("Abilities.Water.IceSpike.Description", "This ability has many functions. Clicking while targetting ice, or an entity over some ice, "

View file

@ -170,6 +170,10 @@ public class IceBlast {
entity.damage(damage, player);
}
Methods.breakBreathbendingHold(entity);
for(Location loc : Methods.getCircle(entity.getLocation(), 6, 7, false, false, 0)) {
ParticleEffect.SNOW_SHOVEL.display(loc, (float) Math.random(), (float) Math.random(), (float) Math.random(), 0, 1000);
}
}
private void throwIce() {