Skip to content

Commit

Permalink
0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Eschatologue committed Oct 18, 2022
1 parent b35f71c commit 5480890
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
31 changes: 16 additions & 15 deletions src/UAW/content/UAWUnitTypes.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static void load() {

aglovale = new HelicopterUnitType("aglovale") {{
float unitRange = 28 * tilesize;
health = 400;
health = 450;
hitSize = 18;

speed = 2.5f;
Expand Down Expand Up @@ -182,7 +182,7 @@ public static void load() {
shoot.shots = 2;
shoot.shotDelay = 5f;
shootSound = Sounds.missile;
bullet = new MissileBulletType(6f, 55) {{
bullet = new MissileBulletType(6f, 50) {{
width = 6f;
height = 12f;
shrinkY = 0f;
Expand Down Expand Up @@ -213,7 +213,7 @@ public static void load() {
reload = 4f;
shootSound = Sfx.gunShoot3;
ejectEffect = Fx.casing1;
bullet = new TrailBulletType(6f, 20) {{
bullet = new TrailBulletType(6f, 15) {{
height = 8f;
width = 5f;
pierce = true;
Expand Down Expand Up @@ -542,7 +542,7 @@ public static void load() {
// region Air - Carriers - Cryocopters
crotchety = new HelicopterUnitType("crotchety") {{
float unitRange = 25 * tilesize;
health = 550;
health = 650;
hitSize = 12;

speed = 1.7f;
Expand Down Expand Up @@ -590,8 +590,8 @@ public static void load() {
ejectEffect = Fx.casing3;
bullet = new StatusEffectBulletType(UAWStatusEffects.cryoBurn, 3 * tick) {{
lifetime = unitRange / speed;
splashDamage = 50;
splashDamageRadius = 4 * tilesize;
splashDamage = 25;
splashDamageRadius = 4.5f * tilesize;
frontColor = UAWPal.cryoFront;
backColor = UAWPal.cryoBack;
trailEffect = new MultiEffect(
Expand Down Expand Up @@ -620,8 +620,8 @@ public static void load() {
}};
cantankerous = new HelicopterUnitType("cantankerous") {{
float unitRange = 32 * tilesize;
health = 3500;
armor = 12f;
health = 5500;
armor = 15f;
hitSize = 25;

speed = 1.2f;
Expand Down Expand Up @@ -681,7 +681,7 @@ public static void load() {
shootCone = 90;
inaccuracy = 6f;
x = y = 0;
reload = 180f;
reload = 3f * tick;
recoil = 0;
shootSound = Sfx.cannonShoot1;
ejectEffect = Fx.casing3;
Expand All @@ -694,7 +694,7 @@ public static void load() {
}};
bullet = new StatusEffectBulletType(UAWStatusEffects.cryoBurn, 8 * tick) {{
lifetime = unitRange / speed;
splashDamage = 90;
splashDamage = 95;
splashDamageRadius = 6 * tilesize;
frontColor = UAWPal.cryoFront;
backColor = UAWPal.cryoBack;
Expand Down Expand Up @@ -741,7 +741,7 @@ public static void load() {
alternate = false;
rotationLimit = 20;
baseRotation = -90;
reload = 4 * tick;
reload = 4.5f * tick;
recoil = 0f;
inaccuracy = 12f;
shootCone = 180f;
Expand All @@ -766,7 +766,7 @@ public static void load() {

spawnUnit = new CruiseMissileUnitType("cantankerous-missile") {{
sprite = cruisemissile_small_cryo;
health = 200;
health = 250;
speed = 4.5f;
maxRange = 4 * tilesize;
lifetime = unitRange * 1.5f / this.speed;
Expand Down Expand Up @@ -1468,7 +1468,7 @@ public static void load() {

ejectEffect = UAWFx.casing2Long;

bullet = new TrailBulletType(5f, 155) {{
bullet = new TrailBulletType(5f, 140) {{
splashDamage = damage;
splashDamageRadius = 3 * tilesize;
frontColor = Pal.missileYellow;
Expand Down Expand Up @@ -1498,6 +1498,7 @@ public static void load() {
fragBullets = 8;
collidesAir = false;
fragBullet = fragGlassFrag;
status = StatusEffects.burning;
}};

parts.add(
Expand Down Expand Up @@ -1526,7 +1527,7 @@ public static void load() {
shootSound = Sfx.gunShoot3;
ejectEffect = Fx.casing1;

bullet = new BasicBulletType(6f, 15) {{
bullet = new BasicBulletType(6f, 10) {{
height = 8f;
width = 5f;
buildingDamageMultiplier = 0.4f;
Expand Down Expand Up @@ -1755,7 +1756,7 @@ public static void load() {
float unitRange = 55 * tilesize;
health = 10500;
armor = 45;
hitSize = 28;
hitSize = 22;
terrainSpeedMultiplier = 1.2f;
terrainDragMultiplier = 1.8f;
speed = 4.5f;
Expand Down
6 changes: 6 additions & 0 deletions src/UAW/content/blocks/UAWBlocksDefense.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ UAWItems.cryogel, new BasicBulletType(5f, 15) {{
range = 35 * tilesize;
inaccuracy = 7.5f;
rotateSpeed = 7f;
targetAir = false;

shootSound = Sounds.shootBig;

Expand All @@ -203,6 +204,7 @@ Items.graphite, new BasicBulletType(8, 20) {{
trailColor = Color.lightGray;

status = StatusEffects.slow;
collidesAir = false;
}},
UAWItems.stoutsteel, new TrailBulletType(12, 22) {{
height = 20;
Expand All @@ -217,6 +219,7 @@ UAWItems.stoutsteel, new TrailBulletType(12, 22) {{
shootEffect = Fx.shootBigColor;
trailEffect = Fx.disperseTrail;
trailChance = 0.7f;
collidesAir = false;
}},
Items.pyratite, new BasicBulletType(7, 15) {{
height = 25;
Expand All @@ -233,6 +236,7 @@ Items.pyratite, new BasicBulletType(7, 15) {{
makeFire = true;
trailChance = 0.4f;
trailColor = Color.lightGray;
collidesAir = false;
}},
UAWItems.cryogel, new BasicBulletType(7, 15) {{
height = 25;
Expand All @@ -249,6 +253,7 @@ UAWItems.cryogel, new BasicBulletType(7, 15) {{
status = StatusEffects.freezing;
trailChance = 0.4f;
trailColor = Color.lightGray;
collidesAir = false;
}},
Items.surgeAlloy, new BasicBulletType(8, 15) {{
height = 25;
Expand All @@ -264,6 +269,7 @@ Items.surgeAlloy, new BasicBulletType(8, 15) {{
lightningAngle = 360;
lightningDamage = 1.5f;
lightningLength = 12;
collidesAir = false;
}}
);
limitRange(2 * tilesize);
Expand Down
1 change: 0 additions & 1 deletion src/UAW/world/units/UnitConstructor.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public class UnitConstructorBuild extends UnitFactoryBuild {

@Override
public void draw(){
super.draw();
Draw.rect(region, x, y);
Draw.rect(outRegion, x, y, rotdeg());

Expand Down

0 comments on commit 5480890

Please sign in to comment.