hackyAI
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
Dictionary<string, float> buildingFractions = new Dictionary<string, float>
|
Dictionary<string, float> buildingFractions = new Dictionary<string, float>
|
||||||
{
|
{
|
||||||
{ "proc", .3f },
|
{ "proc", .2f },
|
||||||
{ "barr", .05f },
|
{ "barr", .05f },
|
||||||
{ "tent", .05f },
|
{ "tent", .05f },
|
||||||
{ "weap", .05f },
|
{ "weap", .05f },
|
||||||
@@ -72,8 +72,8 @@ namespace OpenRA.Mods.RA
|
|||||||
{ "stek", .01f },
|
{ "stek", .01f },
|
||||||
{ "silo", .05f },
|
{ "silo", .05f },
|
||||||
{ "fix", .01f },
|
{ "fix", .01f },
|
||||||
{ "hpad", .01f },
|
//{ "hpad", .01f },
|
||||||
{ "afld", .01f },
|
//{ "afld", .01f },
|
||||||
{ "dome", .01f },
|
{ "dome", .01f },
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -288,7 +288,7 @@ namespace OpenRA.Mods.RA
|
|||||||
{
|
{
|
||||||
var newProdBuildings = self.World.Queries.OwnedBy[p]
|
var newProdBuildings = self.World.Queries.OwnedBy[p]
|
||||||
.Where(a => (a.TraitOrDefault<RallyPoint>() != null
|
.Where(a => (a.TraitOrDefault<RallyPoint>() != null
|
||||||
//&& !activeProductionBuildings.Contains(a)
|
&& !activeProductionBuildings.Contains(a)
|
||||||
)).ToArray();
|
)).ToArray();
|
||||||
|
|
||||||
foreach (var a in newProdBuildings)
|
foreach (var a in newProdBuildings)
|
||||||
|
|||||||
Reference in New Issue
Block a user