progress
This commit is contained in:
@@ -592,7 +592,7 @@ public class UnitTypes implements ContentList{
|
|||||||
}};
|
}};
|
||||||
|
|
||||||
atrax = new UnitType("atrax"){{
|
atrax = new UnitType("atrax"){{
|
||||||
speed = 0.56f;
|
speed = 0.57f;
|
||||||
drag = 0.4f;
|
drag = 0.4f;
|
||||||
hitSize = 13f;
|
hitSize = 13f;
|
||||||
rotateSpeed = 3f;
|
rotateSpeed = 3f;
|
||||||
@@ -632,7 +632,7 @@ public class UnitTypes implements ContentList{
|
|||||||
}};
|
}};
|
||||||
|
|
||||||
spiroct = new UnitType("spiroct"){{
|
spiroct = new UnitType("spiroct"){{
|
||||||
speed = 0.5f;
|
speed = 0.52f;
|
||||||
drag = 0.4f;
|
drag = 0.4f;
|
||||||
hitSize = 15f;
|
hitSize = 15f;
|
||||||
rotateSpeed = 3f;
|
rotateSpeed = 3f;
|
||||||
@@ -699,7 +699,7 @@ public class UnitTypes implements ContentList{
|
|||||||
|
|
||||||
arkyid = new UnitType("arkyid"){{
|
arkyid = new UnitType("arkyid"){{
|
||||||
drag = 0.1f;
|
drag = 0.1f;
|
||||||
speed = 0.6f;
|
speed = 0.62f;
|
||||||
hitSize = 23f;
|
hitSize = 23f;
|
||||||
health = 8000;
|
health = 8000;
|
||||||
armor = 6f;
|
armor = 6f;
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ import mindustry.world.blocks.environment.*;
|
|||||||
|
|
||||||
import static mindustry.Vars.*;
|
import static mindustry.Vars.*;
|
||||||
|
|
||||||
//TODO
|
|
||||||
@Component
|
@Component
|
||||||
abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
|
abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
|
||||||
@Import float x, y, speedMultiplier, rotation, hitSize;
|
@Import float x, y, speedMultiplier, rotation, hitSize;
|
||||||
@@ -26,7 +25,6 @@ abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
|
|||||||
@Import Vec2 vel;
|
@Import Vec2 vel;
|
||||||
|
|
||||||
transient Floor lastDeepFloor;
|
transient Floor lastDeepFloor;
|
||||||
//TODO segments
|
|
||||||
transient float lastCrawlSlowdown = 1f;
|
transient float lastCrawlSlowdown = 1f;
|
||||||
transient float segmentRot, crawlTime;
|
transient float segmentRot, crawlTime;
|
||||||
|
|
||||||
@@ -88,6 +86,7 @@ abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
|
|||||||
lastDeepFloor = t.floor();
|
lastDeepFloor = t.floor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO area damage to units
|
||||||
if(t.build != null && t.build.team != team){
|
if(t.build != null && t.build.team != team){
|
||||||
t.build.damage(team, type.crawlDamage * Time.delta);
|
t.build.damage(team, type.crawlDamage * Time.delta);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ android.useAndroidX=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
http.socketTimeout=80000
|
http.socketTimeout=80000
|
||||||
http.connectionTimeout=80000
|
http.connectionTimeout=80000
|
||||||
archash=f9d704c4e88dfc9772e1e956268cfe8414f7b133
|
archash=95a66af563dfad96ecc4992bd0ab36b07a14e28b
|
||||||
|
|||||||
Reference in New Issue
Block a user