Removed destruction delay when core is destroyed

This commit is contained in:
Anuken
2022-04-26 09:41:25 -04:00
parent f6e0c0ce11
commit 8f5b3ee1e0
4 changed files with 7 additions and 6 deletions

View File

@@ -2701,7 +2701,7 @@ public class Blocks{
incinerateNonBuildable = true;
//TODO should this be higher?
buildCostMultiplier = 0.75f;
buildCostMultiplier = 0.7f;
unitCapModifier = 15;
researchCostMultiplier = 0.07f;

View File

@@ -3647,7 +3647,7 @@ public class UnitTypes{
flying = true;
mineSpeed = 4f;
mineTier = 3;
buildSpeed = 0.8f;
buildSpeed = 1.2f;
drag = 0.08f;
speed = 5.6f;
rotateSpeed = 7f;
@@ -3708,7 +3708,7 @@ public class UnitTypes{
flying = true;
mineSpeed = 4.5f;
mineTier = 3;
buildSpeed = 1.1f;
buildSpeed = 1.4f;
drag = 0.08f;
speed = 7f;
rotateSpeed = 8f;
@@ -3782,7 +3782,7 @@ public class UnitTypes{
flying = true;
mineSpeed = 5f;
mineTier = 3;
buildSpeed = 1.4f;
buildSpeed = 1.5f;
drag = 0.08f;
speed = 7.5f;
rotateSpeed = 8f;

View File

@@ -329,7 +329,8 @@ public class Teams{
for(var build : builds){
if(build.within(x, y, range) && !cores.contains(c -> c.within(x, y, range))){
Time.run(Mathf.random(0f, 60f * 6f), build::kill);
build.kill();
//Time.run(Mathf.random(0f, 60f * 6f), build::kill);
}
}
}