Bug fixes (#642)

* Bug fixes

* Adjusted CollisionRadius

* Fixed AirSwipe scrolling
This commit is contained in:
Sobki 2016-11-03 10:46:56 +10:00 committed by Christopher Martin
parent a3655a6596
commit b96d41e554
4 changed files with 8 additions and 8 deletions

View file

@ -258,7 +258,7 @@ public class AirSwipe extends AirAbility {
}
public void progress() {
if (!bPlayer.canBendIgnoreCooldowns(this)) {
if (!bPlayer.canBendIgnoreBindsCooldowns(this)) {
remove();
return;
}

View file

@ -631,7 +631,7 @@ public class ConfigManager {
config.addDefault("Abilities.Water.IceBlast.Damage", 3);
config.addDefault("Abilities.Water.IceBlast.Range", 20);
config.addDefault("Abilities.Water.IceBlast.DeflectRange", 3);
config.addDefault("Abilities.Water.IceBlast.CollisionRadius", 0.5);
config.addDefault("Abilities.Water.IceBlast.CollisionRadius", 1.5);
config.addDefault("Abilities.Water.IceBlast.Interval", 20);
config.addDefault("Abilities.Water.IceBlast.Cooldown", 1500);
@ -651,7 +651,7 @@ public class ConfigManager {
config.addDefault("Abilities.Water.IceSpike.Field.Cooldown", 2000);
config.addDefault("Abilities.Water.IceSpike.Blast.Range", 20);
config.addDefault("Abilities.Water.IceSpike.Blast.Damage", 1);
config.addDefault("Abilities.Water.IceSpike.Blast.CollisionRadius", 0.5);
config.addDefault("Abilities.Water.IceSpike.Blast.CollisionRadius", 1.5);
config.addDefault("Abilities.Water.IceSpike.Blast.DeflectRange", 3);
config.addDefault("Abilities.Water.IceSpike.Blast.Cooldown", 500);
config.addDefault("Abilities.Water.IceSpike.Blast.SlowCooldown", 5000);
@ -776,7 +776,7 @@ public class ConfigManager {
config.addDefault("Abilities.Water.WaterManipulation.Damage", 3.0);
config.addDefault("Abilities.Water.WaterManipulation.Range", 25);
config.addDefault("Abilities.Water.WaterManipulation.SelectRange", 16);
config.addDefault("Abilities.Water.WaterManipulation.CollisionRadius", 0.5);
config.addDefault("Abilities.Water.WaterManipulation.CollisionRadius", 1.5);
config.addDefault("Abilities.Water.WaterManipulation.DeflectRange", 3);
config.addDefault("Abilities.Water.WaterManipulation.Speed", 35);
config.addDefault("Abilities.Water.WaterManipulation.Push", 0.3);
@ -845,7 +845,7 @@ public class ConfigManager {
config.addDefault("Abilities.Earth.EarthBlast.Push", 0.3);
config.addDefault("Abilities.Earth.EarthBlast.Cooldown", 500);
config.addDefault("Abilities.Earth.EarthBlast.DeflectRange", 3);
config.addDefault("Abilities.Earth.EarthBlast.CollisionRadius", 0.5);
config.addDefault("Abilities.Earth.EarthBlast.CollisionRadius", 1.5);
config.addDefault("Abilities.Earth.EarthGrab.Enabled", true);
config.addDefault("Abilities.Earth.EarthGrab.SelectRange", 20);
@ -975,7 +975,7 @@ public class ConfigManager {
config.addDefault("Abilities.Fire.FireBlast.Enabled", true);
config.addDefault("Abilities.Fire.FireBlast.Speed", 20);
config.addDefault("Abilities.Fire.FireBlast.Range", 20);
config.addDefault("Abilities.Fire.FireBlast.CollisionRadius", 0.5);
config.addDefault("Abilities.Fire.FireBlast.CollisionRadius", 1.5);
config.addDefault("Abilities.Fire.FireBlast.Push", 0.3);
config.addDefault("Abilities.Fire.FireBlast.Damage", 3);
config.addDefault("Abilities.Fire.FireBlast.Cooldown", 1500);

View file

@ -158,7 +158,7 @@ public class FireBlast extends FireAbility {
@Override
public void progress() {
if (!bPlayer.canBendIgnoreCooldowns(this)
if (!bPlayer.canBendIgnoreBindsCooldowns(this)
|| GeneralMethods.isRegionProtectedFromBuild(this, location)) {
remove();
return;

View file

@ -208,7 +208,7 @@ public class HealingWaters extends HealingAbility {
private void applyHealing(LivingEntity livingEntity) {
if (livingEntity.getHealth() < livingEntity.getMaxHealth()) {
livingEntity.addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, duration, 1));
livingEntity.addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, duration, power));
AirAbility.breakBreathbendingHold(livingEntity);
healing = true;
healingSelf = false;