progress
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user