Unit balancing

This commit is contained in:
Anuken
2021-08-24 12:10:44 -04:00
parent 8e90527609
commit 8143cb7be0
2 changed files with 31 additions and 20 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

View File

@@ -152,7 +152,7 @@ public class UnitTypes implements ContentList{
}}; }};
scepter = new UnitType("scepter"){{ scepter = new UnitType("scepter"){{
speed = 0.35f; speed = 0.36f;
hitSize = 22f; hitSize = 22f;
rotateSpeed = 2.1f; rotateSpeed = 2.1f;
health = 9000; health = 9000;
@@ -180,7 +180,7 @@ public class UnitTypes implements ContentList{
inaccuracy = 3f; inaccuracy = 3f;
shotDelay = 4f; shotDelay = 4f;
bullet = new BasicBulletType(7f, 45){{ bullet = new BasicBulletType(7f, 50){{
width = 11f; width = 11f;
height = 20f; height = 20f;
lifetime = 25f; lifetime = 25f;
@@ -189,7 +189,7 @@ public class UnitTypes implements ContentList{
lightningLength = 6; lightningLength = 6;
lightningColor = Pal.surge; lightningColor = Pal.surge;
//standard bullet damage is far too much for lightning //standard bullet damage is far too much for lightning
lightningDamage = 19; lightningDamage = 20;
}}; }};
}}, }},
@@ -238,7 +238,7 @@ public class UnitTypes implements ContentList{
ejectEffect = Fx.casing4; ejectEffect = Fx.casing4;
shootSound = Sounds.bang; shootSound = Sounds.bang;
bullet = new BasicBulletType(13f, 65){{ bullet = new BasicBulletType(13f, 70){{
pierce = true; pierce = true;
pierceCap = 10; pierceCap = 10;
width = 14f; width = 14f;
@@ -413,7 +413,7 @@ public class UnitTypes implements ContentList{
vela = new UnitType("vela"){{ vela = new UnitType("vela"){{
hitSize = 24f; hitSize = 24f;
rotateSpeed = 1.7f; rotateSpeed = 1.8f;
canDrown = false; canDrown = false;
mechFrontSway = 1f; mechFrontSway = 1f;
buildSpeed = 3f; buildSpeed = 3f;
@@ -423,7 +423,7 @@ public class UnitTypes implements ContentList{
ammoType = new PowerAmmoType(2500); ammoType = new PowerAmmoType(2500);
speed = 0.44f; speed = 0.44f;
boostMultiplier = 2.2f; boostMultiplier = 2.4f;
engineOffset = 12f; engineOffset = 12f;
engineSize = 6f; engineSize = 6f;
lowAltitude = true; lowAltitude = true;
@@ -437,6 +437,18 @@ public class UnitTypes implements ContentList{
commandLimit = 8; commandLimit = 8;
weapons.add(new RepairBeamWeapon("repair-beam-weapon-center-large"){{
x = 44 / 4f;
y = -30f / 4f;
shootY = 6f;
beamWidth = 0.8f;
repairSpeed = 1.4f;
bullet = new BulletType(){{
maxRange = 120f;
}};
}});
weapons.add(new Weapon("vela-weapon"){{ weapons.add(new Weapon("vela-weapon"){{
mirror = false; mirror = false;
top = false; top = false;
@@ -1056,7 +1068,7 @@ public class UnitTypes implements ContentList{
rotateSpeed = 1.9f; rotateSpeed = 1.9f;
flying = true; flying = true;
lowAltitude = true; lowAltitude = true;
health = 7000; health = 7200;
armor = 9f; armor = 9f;
engineOffset = 21; engineOffset = 21;
engineSize = 5.3f; engineSize = 5.3f;
@@ -1064,13 +1076,13 @@ public class UnitTypes implements ContentList{
targetFlags = new BlockFlag[]{BlockFlag.generator, BlockFlag.core, null}; targetFlags = new BlockFlag[]{BlockFlag.generator, BlockFlag.core, null};
ammoType = new ItemAmmoType(Items.thorium); ammoType = new ItemAmmoType(Items.thorium);
BulletType missiles = new MissileBulletType(2.7f, 14){{ BulletType missiles = new MissileBulletType(2.7f, 18){{
width = 8f; width = 8f;
height = 8f; height = 8f;
shrinkY = 0f; shrinkY = 0f;
drag = -0.01f; drag = -0.01f;
splashDamageRadius = 20f; splashDamageRadius = 20f;
splashDamage = 34f; splashDamage = 37f;
ammoMultiplier = 4f; ammoMultiplier = 4f;
lifetime = 50f; lifetime = 50f;
hitEffect = Fx.blastExplosion; hitEffect = Fx.blastExplosion;
@@ -1125,13 +1137,13 @@ public class UnitTypes implements ContentList{
}}; }};
eclipse = new UnitType("eclipse"){{ eclipse = new UnitType("eclipse"){{
speed = 0.52f; speed = 0.54f;
accel = 0.04f; accel = 0.04f;
drag = 0.04f; drag = 0.04f;
rotateSpeed = 1f; rotateSpeed = 1f;
flying = true; flying = true;
lowAltitude = true; lowAltitude = true;
health = 21000; health = 22000;
engineOffset = 38; engineOffset = 38;
engineSize = 7.3f; engineSize = 7.3f;
hitSize = 58f; hitSize = 58f;
@@ -1140,10 +1152,10 @@ public class UnitTypes implements ContentList{
targetFlags = new BlockFlag[]{BlockFlag.reactor, BlockFlag.battery, BlockFlag.core, null}; targetFlags = new BlockFlag[]{BlockFlag.reactor, BlockFlag.battery, BlockFlag.core, null};
ammoType = new ItemAmmoType(Items.thorium); ammoType = new ItemAmmoType(Items.thorium);
BulletType fragBullet = new FlakBulletType(4f, 5){{ BulletType fragBullet = new FlakBulletType(4f, 15){{
shootEffect = Fx.shootBig; shootEffect = Fx.shootBig;
ammoMultiplier = 4f; ammoMultiplier = 4f;
splashDamage = 60f; splashDamage = 65f;
splashDamageRadius = 25f; splashDamageRadius = 25f;
collidesGround = true; collidesGround = true;
lifetime = 47f; lifetime = 47f;
@@ -1166,7 +1178,7 @@ public class UnitTypes implements ContentList{
rotate = true; rotate = true;
bullet = new LaserBulletType(){{ bullet = new LaserBulletType(){{
damage = 110f; damage = 115f;
sideAngle = 20f; sideAngle = 20f;
sideWidth = 1.5f; sideWidth = 1.5f;
sideLength = 80f; sideLength = 80f;
@@ -1335,7 +1347,7 @@ public class UnitTypes implements ContentList{
quad = new UnitType("quad"){{ quad = new UnitType("quad"){{
armor = 8f; armor = 8f;
health = 6000; health = 6000;
speed = 1.3f; speed = 1.2f;
rotateSpeed = 2f; rotateSpeed = 2f;
accel = 0.05f; accel = 0.05f;
drag = 0.017f; drag = 0.017f;
@@ -1444,7 +1456,7 @@ public class UnitTypes implements ContentList{
armor = 2f; armor = 2f;
weapons.add(new Weapon("mount-weapon"){{ weapons.add(new Weapon("mount-weapon"){{
reload = 12f; reload = 13f;
x = 4f; x = 4f;
shootY = 4f; shootY = 4f;
y = 1.5f; y = 1.5f;
@@ -1455,7 +1467,7 @@ public class UnitTypes implements ContentList{
weapons.add(new Weapon("missiles-mount"){{ weapons.add(new Weapon("missiles-mount"){{
mirror = false; mirror = false;
reload = 23f; reload = 25f;
x = 0f; x = 0f;
y = -5f; y = -5f;
rotate = true; rotate = true;
@@ -1567,15 +1579,14 @@ public class UnitTypes implements ContentList{
ejectEffect = Fx.casing3; ejectEffect = Fx.casing3;
shootSound = Sounds.artillery; shootSound = Sounds.artillery;
bullet = new ArtilleryBulletType(3.2f, 12){{ bullet = new ArtilleryBulletType(3.2f, 15){{
trailMult = 0.8f; trailMult = 0.8f;
hitEffect = Fx.massiveExplosion; hitEffect = Fx.massiveExplosion;
knockback = 1.5f; knockback = 1.5f;
lifetime = 80f; lifetime = 84f;
height = 15.5f; height = 15.5f;
width = 15f; width = 15f;
collidesTiles = false; collidesTiles = false;
ammoMultiplier = 4f;
splashDamageRadius = 40f; splashDamageRadius = 40f;
splashDamage = 70f; splashDamage = 70f;
backColor = Pal.missileYellowBack; backColor = Pal.missileYellowBack;