mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-01-12 01:48:31 +00:00
Give Combustion more of a beam
This commit is contained in:
parent
1789dc5b02
commit
c9dcdd6dfb
2 changed files with 3 additions and 2 deletions
Binary file not shown.
|
@ -3,7 +3,6 @@ package com.projectkorra.ProjectKorra.firebending;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
||||||
import org.bukkit.Effect;
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
|
@ -16,6 +15,7 @@ import org.bukkit.util.Vector;
|
||||||
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 Combustion {
|
public class Combustion {
|
||||||
|
|
||||||
|
@ -168,7 +168,8 @@ public class Combustion {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void advanceLocation() {
|
private void advanceLocation() {
|
||||||
location.getWorld().playEffect(location, Effect.MOBSPAWNER_FLAMES, 4, (int) range);
|
ParticleEffect.FIREWORKS_SPARK.display(location, (float) Math.random(), (float) Math.random(), (float) Math.random(), 0, 5);
|
||||||
|
ParticleEffect.FLAME.display(location, (float) Math.random(), (float) Math.random(), (float) Math.random(), 0, 2);
|
||||||
location = location.add(direction.clone().multiply(speedfactor));
|
location = location.add(direction.clone().multiply(speedfactor));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue