More RTS AI tweaks
This commit is contained in:
Binary file not shown.
@@ -172,7 +172,7 @@ public class RtsAI{
|
|||||||
|
|
||||||
//defend when close, or this is the only squad defending
|
//defend when close, or this is the only squad defending
|
||||||
//TODO will always rush to defense no matter what
|
//TODO will always rush to defense no matter what
|
||||||
if(best instanceof CoreBuild || (/*(units.size >= minSquadSize || best.within(ax, ay, 300f)) && */(noDefenders || best.within(ax, ay, 400f)))){
|
if(best instanceof CoreBuild || units.size >= minSquadSize || best.within(ax, ay, 500f)){
|
||||||
defend = best;
|
defend = best;
|
||||||
|
|
||||||
if(debug){
|
if(debug){
|
||||||
|
|||||||
@@ -1699,9 +1699,9 @@ public class Blocks{
|
|||||||
}};
|
}};
|
||||||
|
|
||||||
radar = new Radar("radar"){{
|
radar = new Radar("radar"){{
|
||||||
requirements(Category.effect, BuildVisibility.fogOnly, with(Items.silicon, 50, Items.graphite, 50));
|
requirements(Category.effect, BuildVisibility.fogOnly, with(Items.silicon, 60, Items.graphite, 50));
|
||||||
outlineColor = Color.valueOf("4a4b53");
|
outlineColor = Color.valueOf("4a4b53");
|
||||||
fogRadius = 33;
|
fogRadius = 34;
|
||||||
researchCost = with(Items.silicon, 70, Items.graphite, 70);
|
researchCost = with(Items.silicon, 70, Items.graphite, 70);
|
||||||
|
|
||||||
consumePower(0.6f);
|
consumePower(0.6f);
|
||||||
@@ -3676,7 +3676,7 @@ public class Blocks{
|
|||||||
trailWidth = 2.1f;
|
trailWidth = 2.1f;
|
||||||
trailLength = 10;
|
trailLength = 10;
|
||||||
hitEffect = despawnEffect = Fx.hitBulletColor;
|
hitEffect = despawnEffect = Fx.hitBulletColor;
|
||||||
buildingDamageMultiplier = 0.5f;
|
buildingDamageMultiplier = 0.4f;
|
||||||
}},
|
}},
|
||||||
Items.tungsten, new BasicBulletType(8f, 185){{
|
Items.tungsten, new BasicBulletType(8f, 185){{
|
||||||
width = 13f;
|
width = 13f;
|
||||||
@@ -3695,7 +3695,7 @@ public class Blocks{
|
|||||||
trailLength = 11;
|
trailLength = 11;
|
||||||
hitEffect = despawnEffect = Fx.hitBulletColor;
|
hitEffect = despawnEffect = Fx.hitBulletColor;
|
||||||
rangeChange = 40f;
|
rangeChange = 40f;
|
||||||
buildingDamageMultiplier = 0.5f;
|
buildingDamageMultiplier = 0.4f;
|
||||||
}}
|
}}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ public class ErekirTechTree{
|
|||||||
|
|
||||||
static void rebalanceBullet(BulletType bullet){
|
static void rebalanceBullet(BulletType bullet){
|
||||||
if(balanced.add(bullet.id)){
|
if(balanced.add(bullet.id)){
|
||||||
bullet.damage *= 0.7f;
|
bullet.damage *= 0.75f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user