Crawl progress

This commit is contained in:
Anuken
2021-08-22 20:25:46 -04:00
parent 5e737510a3
commit dd8279bab3
7 changed files with 6 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
if(moving()){
segmentRot = Angles.moveToward(segmentRot, rotation, type.segmentRotSpeed);
int radius = (int)Math.max(0, hitSize / tilesize);
int radius = (int)Math.max(0, hitSize / tilesize * 2f);
int count = 0, solids = 0, deeps = 0;
lastDeepFloor = null;
@@ -91,7 +91,7 @@ abstract class CrawlComp implements Posc, Rotc, Hitboxc, Unitc{
t.build.damage(team, type.crawlDamage * Time.delta);
}
if(Mathf.chanceDelta(0.04)){
if(Mathf.chanceDelta(0.025)){
Fx.crawlDust.at(t.worldx(), t.worldy(), t.floor().mapColor);
}
}else{