Prototype health/ammo indication

This commit is contained in:
Anuken
2020-09-13 21:08:24 -04:00
parent be229f441e
commit 7ce93c7f85
28 changed files with 1694 additions and 1542 deletions

View File

@@ -1481,14 +1481,14 @@ public class Blocks implements ContentList{
arc = new PowerTurret("arc"){{
requirements(Category.turret, with(Items.copper, 35, Items.lead, 50));
shootType = new LightningBulletType(){{
damage = 21;
damage = 20;
lightningLength = 25;
collidesAir = false;
}};
reloadTime = 35f;
shootCone = 40f;
rotatespeed = 8f;
powerUse = 4.5f;
powerUse = 4f;
targetAir = false;
range = 90f;
shootEffect = Fx.lightningShoot;
@@ -1563,7 +1563,7 @@ public class Blocks implements ContentList{
health = 250 * size * size;
range = 140f;
hasPower = true;
consumes.power(3f);
consumes.power(8f);
size = 2;
shootLength = 5f;
bulletDamage = 25f;

View File

@@ -53,7 +53,7 @@ public class StatusEffects implements ContentList{
init(() -> {
trans(shocked, ((unit, time, newTime, result) -> {
unit.damagePierce(20f);
unit.damagePierce(14f);
if(unit.team() == state.rules.waveTeam){
Events.fire(Trigger.shock);
}

View File

@@ -362,7 +362,7 @@ public class UnitTypes implements ContentList{
speed = 0.85f;
hitsize = 8f;
health = 170;
health = 180;
mechSideSway = 0.25f;
range = 40f;
@@ -377,7 +377,7 @@ public class UnitTypes implements ContentList{
speed = 1f;
splashDamageRadius = 55f;
instantDisappear = true;
splashDamage = 45f;
splashDamage = 55f;
killShooter = true;
hittable = false;
collidesAir = true;