Possible HeatControl fix

This commit is contained in:
MistPhizzle 2014-07-21 15:40:43 -04:00
parent 376fc8a2c4
commit cf93334386

View file

@ -16,6 +16,7 @@ import com.projectkorra.ProjectKorra.Flight;
import com.projectkorra.ProjectKorra.Methods; import com.projectkorra.ProjectKorra.Methods;
import com.projectkorra.ProjectKorra.ProjectKorra; import com.projectkorra.ProjectKorra.ProjectKorra;
import com.projectkorra.ProjectKorra.Ability.AvatarState; import com.projectkorra.ProjectKorra.Ability.AvatarState;
import com.projectkorra.ProjectKorra.Utilities.ParticleEffect;
public class AirBlast { public class AirBlast {
@ -223,7 +224,8 @@ public class AirBlast {
} }
private void advanceLocation() { 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)); location = location.add(direction.clone().multiply(speedfactor));
} }
@ -327,8 +329,9 @@ public class AirBlast {
return; return;
} }
origin.getWorld().playEffect(origin, Effect.SMOKE, 4, ParticleEffect.SPELL.display(origin, (float) 0, (float) 0, 0F, (float) speed, 20);
(int) originselectrange); // origin.getWorld().playEffect(origin, Effect.SMOKE, 4,
// (int) originselectrange);
} }
public static void removeAll() { public static void removeAll() {