Various small tweaks

This commit is contained in:
Anuken
2020-10-17 18:37:54 -04:00
parent e9131b4631
commit 7349af4753
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ public class Pathfinder implements Runnable{
} }
return PathTile.get( return PathTile.get(
tile.build == null ? 0 : Math.min((int)(tile.build.health / 40), 80), tile.build == null || !tile.solid() ? 0 : Math.min((int)(tile.build.health / 40), 80),
tile.getTeamID(), tile.getTeamID(),
tile.solid(), tile.solid(),
tile.floor().isLiquid, tile.floor().isLiquid,
+2 -2
View File
@@ -919,8 +919,8 @@ public class Blocks implements ContentList{
shockMine = new ShockMine("shock-mine"){{ shockMine = new ShockMine("shock-mine"){{
requirements(Category.effect, with(Items.lead, 25, Items.silicon, 12)); requirements(Category.effect, with(Items.lead, 25, Items.silicon, 12));
hasShadow = false; hasShadow = false;
health = 40; health = 50;
damage = 23; damage = 25;
tileDamage = 7f; tileDamage = 7f;
length = 10; length = 10;
tendrils = 4; tendrils = 4;
@@ -16,7 +16,7 @@ import static mindustry.Vars.*;
@EntityDef(value = {Firec.class}, pooled = true) @EntityDef(value = {Firec.class}, pooled = true)
@Component(base = true) @Component(base = true)
abstract class FireComp implements Timedc, Posc, Firec, Syncc{ abstract class FireComp implements Timedc, Posc, Firec, Syncc{
private static final float spreadChance = 0.05f, fireballChance = 0.07f; private static final float spreadChance = 0.04f, fireballChance = 0.06f;
@Import float time, lifetime, x, y; @Import float time, lifetime, x, y;
+7 -1
View File
@@ -18,6 +18,7 @@ public class DefaultWaves{
new SpawnGroup(dagger){{ new SpawnGroup(dagger){{
end = 10; end = 10;
unitScaling = 2f; unitScaling = 2f;
max = 30;
}}, }},
new SpawnGroup(crawler){{ new SpawnGroup(crawler){{
@@ -45,6 +46,7 @@ public class DefaultWaves{
begin = 13; begin = 13;
spacing = 3; spacing = 3;
unitScaling = 0.5f; unitScaling = 0.5f;
max = 25;
}}, }},
new SpawnGroup(mace){{ new SpawnGroup(mace){{
@@ -61,7 +63,7 @@ public class DefaultWaves{
unitAmount = 4; unitAmount = 4;
spacing = 2; spacing = 2;
shieldScaling = 10f; shieldScaling = 10f;
max = 20; max = 14;
}}, }},
new SpawnGroup(mace){{ new SpawnGroup(mace){{
@@ -94,6 +96,7 @@ public class DefaultWaves{
unitScaling = 1; unitScaling = 1;
spacing = 2; spacing = 2;
shieldScaling = 20f; shieldScaling = 20f;
max = 20;
}}, }},
new SpawnGroup(quasar){{ new SpawnGroup(quasar){{
@@ -111,6 +114,7 @@ public class DefaultWaves{
unitAmount = 1; unitAmount = 1;
unitScaling = 3; unitScaling = 3;
effect = StatusEffects.shielded; effect = StatusEffects.shielded;
max = 25;
}}, }},
new SpawnGroup(fortress){{ new SpawnGroup(fortress){{
@@ -138,6 +142,7 @@ public class DefaultWaves{
effect = StatusEffects.overdrive; effect = StatusEffects.overdrive;
items = new ItemStack(Items.pyratite, 100); items = new ItemStack(Items.pyratite, 100);
end = 130; end = 130;
max = 30;
}}, }},
new SpawnGroup(horizon){{ new SpawnGroup(horizon){{
@@ -156,6 +161,7 @@ public class DefaultWaves{
shields = 100f; shields = 100f;
shieldScaling = 10f; shieldScaling = 10f;
effect = StatusEffects.overdrive; effect = StatusEffects.overdrive;
max = 20;
}}, }},
new SpawnGroup(zenith){{ new SpawnGroup(zenith){{