mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 03:00:29 +03:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -3619,13 +3619,14 @@ public class Blocks{
|
||||
arc = new PowerTurret("arc"){{
|
||||
requirements(Category.turret, with(Items.copper, 50, Items.lead, 50));
|
||||
shootType = new LightningBulletType(){{
|
||||
damage = 20;
|
||||
damage = 12;
|
||||
lightningLength = 25;
|
||||
collidesAir = false;
|
||||
ammoMultiplier = 1f;
|
||||
|
||||
//for visual stats only.
|
||||
buildingDamageMultiplier = 0.25f;
|
||||
buildingDamageMultiplier = 0.4f;
|
||||
pierceCap = 5;
|
||||
|
||||
lightningType = new BulletType(0.0001f, 0f){{
|
||||
lifetime = Fx.lightning.lifetime;
|
||||
@@ -3635,7 +3636,7 @@ public class Blocks{
|
||||
hittable = false;
|
||||
lightColor = Color.white;
|
||||
collidesAir = false;
|
||||
buildingDamageMultiplier = 0.25f;
|
||||
buildingDamageMultiplier = 0.4f;
|
||||
shieldDamageMultiplier = 0.2f;
|
||||
}};
|
||||
}};
|
||||
@@ -3651,8 +3652,10 @@ public class Blocks{
|
||||
size = 1;
|
||||
health = 260;
|
||||
shootSound = Sounds.shootArc;
|
||||
|
||||
consumePower(3.3f);
|
||||
coolant = consumeCoolant(0.1f);
|
||||
coolantMultiplier = 30f;
|
||||
}};
|
||||
|
||||
parallax = new TractorBeamTurret("parallax"){{
|
||||
|
||||
@@ -78,6 +78,10 @@ public class Lightning{
|
||||
});
|
||||
}
|
||||
|
||||
if(hitter != null && hitter.type.pierceCap > 0 && hit.size >= hitter.type.pierceCap){
|
||||
break;
|
||||
}
|
||||
|
||||
Unit furthest = Geometry.findFurthest(x, y, entities);
|
||||
|
||||
if(furthest != null){
|
||||
|
||||
Reference in New Issue
Block a user