This commit is contained in:
Anuken
2021-08-22 11:40:38 -04:00
parent 4af101bf7d
commit 4e12289eaa
3 changed files with 5 additions and 6 deletions

View File

@@ -592,7 +592,7 @@ public class UnitTypes implements ContentList{
}};
atrax = new UnitType("atrax"){{
speed = 0.56f;
speed = 0.57f;
drag = 0.4f;
hitSize = 13f;
rotateSpeed = 3f;
@@ -632,7 +632,7 @@ public class UnitTypes implements ContentList{
}};
spiroct = new UnitType("spiroct"){{
speed = 0.5f;
speed = 0.52f;
drag = 0.4f;
hitSize = 15f;
rotateSpeed = 3f;
@@ -699,7 +699,7 @@ public class UnitTypes implements ContentList{
arkyid = new UnitType("arkyid"){{
drag = 0.1f;
speed = 0.6f;
speed = 0.62f;
hitSize = 23f;
health = 8000;
armor = 6f;

View File

@@ -17,7 +17,6 @@ import mindustry.world.blocks.environment.*;
import static mindustry.Vars.*;
//TODO
@Component
abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
@Import float x, y, speedMultiplier, rotation, hitSize;
@@ -26,7 +25,6 @@ abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
@Import Vec2 vel;
transient Floor lastDeepFloor;
//TODO segments
transient float lastCrawlSlowdown = 1f;
transient float segmentRot, crawlTime;
@@ -88,6 +86,7 @@ abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
lastDeepFloor = t.floor();
}
//TODO area damage to units
if(t.build != null && t.build.team != team){
t.build.damage(team, type.crawlDamage * Time.delta);
}