mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-15 03:11:07 -07:00
Fixed shielded wall being available on Serpulo
This commit is contained in:
parent
8a19582377
commit
58246747ee
2 changed files with 7 additions and 2 deletions
|
|
@ -1673,7 +1673,7 @@ public class Blocks{
|
|||
}};
|
||||
|
||||
shieldedWall = new ShieldWall("shielded-wall"){{
|
||||
requirements(Category.defense, ItemStack.with(Items.phaseFabric, 20, Items.surgeAlloy, 12));
|
||||
requirements(Category.defense, ItemStack.with(Items.phaseFabric, 20, Items.surgeAlloy, 12, Items.beryllium, 12));
|
||||
consumePower(3f / 60f);
|
||||
|
||||
outputsPower = false;
|
||||
|
|
@ -2554,7 +2554,7 @@ public class Blocks{
|
|||
explodeEffect = new MultiEffect(Fx.bigShockwave, new WrapEffect(Fx.titanSmoke, Liquids.neoplasm.color), Fx.neoplasmSplat);
|
||||
explodeSound = Sounds.explosionbig;
|
||||
|
||||
powerProduction = 100f;
|
||||
powerProduction = 140f;
|
||||
rebuildable = false;
|
||||
|
||||
explosionPuddles = 80;
|
||||
|
|
|
|||
|
|
@ -87,6 +87,11 @@ public class ShieldWall extends Wall{
|
|||
return breakTimer > 0 || !canConsume();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void pickedUp(){
|
||||
shieldRadius = 0f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void damage(float damage){
|
||||
float shieldTaken = broken() ? 0f : Math.min(shield, damage);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue