From cf93334386e66c779bb2f04ec1ba0bc9eb990296 Mon Sep 17 00:00:00 2001 From: MistPhizzle Date: Mon, 21 Jul 2014 15:40:43 -0400 Subject: [PATCH] Possible HeatControl fix --- .../projectkorra/ProjectKorra/airbending/AirBlast.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/com/projectkorra/ProjectKorra/airbending/AirBlast.java b/src/com/projectkorra/ProjectKorra/airbending/AirBlast.java index c0962191..97207fb3 100644 --- a/src/com/projectkorra/ProjectKorra/airbending/AirBlast.java +++ b/src/com/projectkorra/ProjectKorra/airbending/AirBlast.java @@ -16,6 +16,7 @@ import com.projectkorra.ProjectKorra.Flight; import com.projectkorra.ProjectKorra.Methods; import com.projectkorra.ProjectKorra.ProjectKorra; import com.projectkorra.ProjectKorra.Ability.AvatarState; +import com.projectkorra.ProjectKorra.Utilities.ParticleEffect; public class AirBlast { @@ -223,7 +224,8 @@ public class AirBlast { } private void advanceLocation() { - location.getWorld().playEffect(location, Effect.SMOKE, 4, (int) range); + ParticleEffect.SPELL.display(location, (float)0, (float)0, (float)0, (float)speed, (int)20); +// location.getWorld().playEffect(location, Effect.SMOKE, 4, (int) range); location = location.add(direction.clone().multiply(speedfactor)); } @@ -327,8 +329,9 @@ public class AirBlast { return; } - origin.getWorld().playEffect(origin, Effect.SMOKE, 4, - (int) originselectrange); + ParticleEffect.SPELL.display(origin, (float) 0, (float) 0, 0F, (float) speed, 20); +// origin.getWorld().playEffect(origin, Effect.SMOKE, 4, +// (int) originselectrange); } public static void removeAll() {