Remove HarvesterInfo look-up from HackyAI
This commit is contained in:
@@ -749,8 +749,7 @@ namespace OpenRA.Mods.Common.AI
|
||||
|
||||
foreach (var a in newUnits)
|
||||
{
|
||||
if (!a.Info.HasTraitInfo<HarvesterInfo>())
|
||||
unitsHangingAroundTheBase.Add(a);
|
||||
unitsHangingAroundTheBase.Add(a);
|
||||
|
||||
if (a.Info.HasTraitInfo<AircraftInfo>() && a.Info.HasTraitInfo<AttackBaseInfo>())
|
||||
{
|
||||
|
||||
@@ -16,6 +16,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
BuildingQueues: Building.Nod, Building.GDI
|
||||
DefenseQueues: Defence.Nod, Defence.GDI
|
||||
UnitQueues: Vehicle.Nod, Vehicle.GDI, Infantry.Nod, Infantry.GDI, Aircraft.Nod, Aircraft.GDI
|
||||
@@ -145,6 +146,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
BuildingQueues: Building.Nod, Building.GDI
|
||||
DefenseQueues: Defence.Nod, Defence.GDI
|
||||
UnitQueues: Vehicle.Nod, Vehicle.GDI, Infantry.Nod, Infantry.GDI, Aircraft.Nod, Aircraft.GDI
|
||||
@@ -274,6 +276,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
BuildingQueues: Building.Nod, Building.GDI
|
||||
DefenseQueues: Defence.Nod, Defence.GDI
|
||||
UnitQueues: Vehicle.Nod, Vehicle.GDI, Infantry.Nod, Infantry.GDI, Aircraft.Nod, Aircraft.GDI
|
||||
|
||||
@@ -17,6 +17,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
BuildingLimits:
|
||||
barracks: 1
|
||||
refinery: 4
|
||||
@@ -138,6 +139,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
BuildingLimits:
|
||||
barracks: 1
|
||||
refinery: 4
|
||||
@@ -261,6 +263,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
BuildingLimits:
|
||||
barracks: 1
|
||||
refinery: 4
|
||||
|
||||
@@ -16,6 +16,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
NavalUnits: ss,msub,dd,ca,lst,pt
|
||||
BuildingLimits:
|
||||
proc: 4
|
||||
@@ -133,6 +134,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
NavalUnits: ss,msub,dd,ca,lst,pt
|
||||
BuildingLimits:
|
||||
proc: 4
|
||||
@@ -267,6 +269,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
NavalUnits: ss,msub,dd,ca,lst,pt
|
||||
BuildingLimits:
|
||||
proc: 4
|
||||
@@ -401,6 +404,7 @@ Player:
|
||||
Silo: silo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
NavalUnits: ss,msub,dd,ca,lst,pt
|
||||
BuildingLimits:
|
||||
proc: 4
|
||||
|
||||
@@ -16,6 +16,7 @@ Player:
|
||||
Silo: gasilo
|
||||
UnitsCommonNames:
|
||||
Mcv: mcv
|
||||
ExcludeFromSquads: harv
|
||||
BuildingLimits:
|
||||
proc: 4
|
||||
gasilo: 2
|
||||
|
||||
Reference in New Issue
Block a user