WIP actually insect-like unit

This commit is contained in:
Anuken
2022-02-01 00:07:00 -05:00
parent 77e29af522
commit 092ce9d5ff
15 changed files with 100 additions and 16 deletions

View File

@@ -3147,14 +3147,14 @@ public class Blocks{
//TODO balance, set up, where is liquid/sec displayed? status effects maybe?
ammo(
Liquids.ozone, new ContinuousFlameBulletType(){{
damage = 85f;
damage = 90f;
length = range;
knockback = 1f;
colors = new Color[]{Color.valueOf("eb7abe").a(0.55f), Color.valueOf("e189f5").a(0.7f), Color.valueOf("907ef7").a(0.8f), Color.valueOf("91a4ff"), Color.white};
}},
Liquids.cyanogen, new ContinuousFlameBulletType(){{
damage = 180f;
damage = 200f;
rangeChange = 70f;
length = range + rangeChange;
knockback = 2f;
@@ -3167,7 +3167,7 @@ public class Blocks{
);
acceptCoolant = false;
scaledHealth = 320;
scaledHealth = 330;
shootLength = 7f;
size = 3;
}};

View File

@@ -125,7 +125,7 @@ public class SectorPresets{
three = new SectorPreset("three", erekir, 32){{
captureWave = 8;
difficulty = 8;
difficulty = 5;
}};
//endregion

View File

@@ -2650,6 +2650,42 @@ public class UnitTypes{
}});
}};
krepost = new UnitType("krepost"){{
drag = 0.1f;
speed = 1f;
hitSize = 19f;
health = 7300;
armor = 5f;
outlineColor = Pal.darkOutline;
envDisabled = Env.space;
rotateSpeed = 1.8f;
lockLegBase = true;
legStraightness = 1f;
baseLegStraightness = 0.6f;
legCount = 8;
legLength = 30f;
legTrns = 2f;
legMoveSpace = 1.05f;
rippleScale = 1.2f;
landShake = 0.5f;
legGroupSize = 2;
legExtension = -5f;
legBaseOffset = 19f;
legStraightLength = 0.9f;
maxStretch = 1.2f;
ammoType = new PowerAmmoType(2000);
legSplashDamage = 32;
legSplashRange = 32;
drownTimeMultiplier = 2f;
hovering = true;
visualElevation = 0.4f;
groundLayer = Layer.legUnit;
}};
//endregion
//region erekir - flying