mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Remove LavaSurge
There was an issue with falling blocks, until it is fixed, LavaSurge is gone.
This commit is contained in:
parent
38db0e28b1
commit
065b75c696
6 changed files with 16 additions and 22 deletions
|
@ -118,7 +118,7 @@ public class AbilityModuleManager {
|
|||
if (a == StockAbilities.MetalClips) earthsubabilities.add(a.name());
|
||||
if (a == StockAbilities.Extraction) earthsubabilities.add(a.name());
|
||||
if (a == StockAbilities.LavaFlow) earthsubabilities.add(a.name());
|
||||
if (a == StockAbilities.LavaSurge) earthsubabilities.add(a.name());
|
||||
// if (a == StockAbilities.LavaSurge) earthsubabilities.add(a.name());
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ public enum StockAbilities {
|
|||
AvatarState,
|
||||
|
||||
// Project Korra
|
||||
Extraction, MetalClips, Smokescreen, Combustion, LavaSurge, LavaFlow, Suffocate, IceBlast, WarriorStance, AcrobatStance;
|
||||
Extraction, MetalClips, Smokescreen, Combustion, LavaFlow, Suffocate, IceBlast, WarriorStance, AcrobatStance;
|
||||
|
||||
private enum AirbendingAbilities {
|
||||
AirBlast, AirBubble, AirShield, AirSuction, AirSwipe, Tornado, AirScooter, AirSpout, AirBurst, Suffocate;
|
||||
|
@ -30,7 +30,7 @@ public enum StockAbilities {
|
|||
}
|
||||
|
||||
private enum EarthbendingAbilities {
|
||||
Catapult, RaiseEarth, EarthGrab, EarthTunnel, EarthBlast, Collapse, Tremorsense, EarthArmor, Shockwave, Extraction, MetalClips, LavaSurge, LavaFlow;
|
||||
Catapult, RaiseEarth, EarthGrab, EarthTunnel, EarthBlast, Collapse, Tremorsense, EarthArmor, Shockwave, Extraction, MetalClips, LavaFlow;
|
||||
}
|
||||
|
||||
private enum FirebendingAbilities {
|
||||
|
|
|
@ -463,15 +463,15 @@ public class ConfigManager {
|
|||
config.addDefault("Abilities.Earth.LavaFlow.AllowNaturalFlow", false);
|
||||
config.addDefault("Abilities.Earth.LavaFlow.ParticleDensity", 0.33);
|
||||
|
||||
config.addDefault("Abilities.Earth.LavaSurge.Enabled", true);
|
||||
config.addDefault("Abilities.Earth.LavaSurge.Description", "LavaSurge is a fundamental move for any Lavabender out there. To use, simply sneak (Default: Shift) while looking at a source of Earth or Lava, then click in a direction. A surge of lava will swiftly travel towards the target you were pointing at, dealing moderate damage, a large knockback, and setting them on fire.");
|
||||
config.addDefault("Abilities.Earth.LavaSurge.Damage", 4);
|
||||
config.addDefault("Abilities.Earth.LavaSurge.Cooldown", 1000);
|
||||
config.addDefault("Abilities.Earth.LavaSurge.FractureRadius", 1);
|
||||
config.addDefault("Abilities.Earth.LavaSurge.PrepareRange", 7);
|
||||
config.addDefault("Abilities.Earth.LavaSurge.TravelRange", 15);
|
||||
config.addDefault("Abilities.Earth.LavaSurge.MaxLavaWaves", 10);
|
||||
config.addDefault("Abilities.Earth.LavaSurge.SourceCanBeEarth", true);
|
||||
// config.addDefault("Abilities.Earth.LavaSurge.Enabled", true);
|
||||
// config.addDefault("Abilities.Earth.LavaSurge.Description", "LavaSurge is a fundamental move for any Lavabender out there. To use, simply sneak (Default: Shift) while looking at a source of Earth or Lava, then click in a direction. A surge of lava will swiftly travel towards the target you were pointing at, dealing moderate damage, a large knockback, and setting them on fire.");
|
||||
// config.addDefault("Abilities.Earth.LavaSurge.Damage", 4);
|
||||
// config.addDefault("Abilities.Earth.LavaSurge.Cooldown", 1000);
|
||||
// config.addDefault("Abilities.Earth.LavaSurge.FractureRadius", 1);
|
||||
// config.addDefault("Abilities.Earth.LavaSurge.PrepareRange", 7);
|
||||
// config.addDefault("Abilities.Earth.LavaSurge.TravelRange", 15);
|
||||
// config.addDefault("Abilities.Earth.LavaSurge.MaxLavaWaves", 10);
|
||||
// config.addDefault("Abilities.Earth.LavaSurge.SourceCanBeEarth", true);
|
||||
|
||||
config.addDefault("Abilities.Earth.MetalClips.Enabled", true);
|
||||
config.addDefault("Abilities.Earth.MetalClips.Description", "MetalClips has the potential to be both an offensive and a utility ability. To start, you must carry smelted Iron Ingots in your inventory. To apply the clips onto an entity, simply click at them. If the entity is a Zombie, a Skeleton, or a Player, the clips will form armor around the entity, giving you some control over them. Each additional clip will give you more control. If you have permission to do so, you may crush the entity against a wall with a 4th clip, hurting them. Without explicit permissions, you will only be able to strap three clips on your target. If the entity is not one of the above, the clip will simply do damage and fall to the ground, to be collected.");
|
||||
|
|
|
@ -498,9 +498,9 @@ public class PKListener implements Listener {
|
|||
new MetalClips(player, 1);
|
||||
}
|
||||
|
||||
if (abil.equalsIgnoreCase("LavaSurge")) {
|
||||
new LavaSurge(player);
|
||||
}
|
||||
// if (abil.equalsIgnoreCase("LavaSurge")) {
|
||||
// new LavaSurge(player);
|
||||
// }
|
||||
|
||||
if (abil.equalsIgnoreCase("LavaFlow")) {
|
||||
new LavaFlow(player,LavaFlow.AbilityType.SHIFT);
|
||||
|
|
|
@ -270,7 +270,7 @@ public class LavaSurge
|
|||
|
||||
if(curTime > time + (fallingBlockInterval * fallingBlocksCount))
|
||||
{
|
||||
FallingBlock fbs = player.getWorld().spawnFallingBlock(sourceBlock.getLocation().add(0, 1, 0), Material.STATIONARY_LAVA, (byte) 0);
|
||||
FallingBlock fbs = player.getWorld().spawnFallingBlock(sourceBlock.getLocation().add(0, 1, 0), Material.STATIONARY_LAVA, (byte) 1);
|
||||
fblocks.add(fbs);
|
||||
falling.add(fbs);
|
||||
double x = randy.nextDouble()/5;
|
||||
|
|
|
@ -348,12 +348,6 @@ Abilities:
|
|||
DoubleLootChance: 40
|
||||
MetalClips:
|
||||
Enabled: true
|
||||
LavaSurge:
|
||||
Enabled: true
|
||||
Description: "This ability allows an Earthbender to bend an existing Lava Source to create a large wave that deals damage and knocks back anything in its path. To use, simply tap sneak (Default: Shift) while targeting an earthbendable block. Once a source has been selected, left click to launch the wave off into the direction you are looking. This ability has a small knockback and does a fair amount of damage."
|
||||
Radius: 3
|
||||
HorizontalPush: 0.5
|
||||
VerticalPush: 0.1
|
||||
LavaFlow:
|
||||
Enabled: true
|
||||
Description: 'This ability allows an Earthbender to create lava using the Earth
|
||||
|
|
Loading…
Reference in a new issue