(Game.IsCampaignGame == 0) * ( 1.0 + 15.0 * (Variable_Enemy.Force >= (0.8 * Variable_Self.Force)) + 5.0 * (0#1>0.5) ) Variable_Target.Type.IsType {Parameter_Type = "Skirmish_Outpost_Pad"} (1 - Function_Is_Saving_For_Refineries_Land.Evaluate) * (1 - Function_Skirmish_Upgrade_Tech.Evaluate) * Function_Is_Initial_Skirmish_State_Established.Evaluate * Function_Tactical_Multiplayer_Should_Build_Generic.Evaluate * (1.0 - Function_May_Lose_Land_Control_Game.Evaluate) (1 - Function_Want_To_Retreat_From_Land.Evaluate) * (1 - Function_Is_Refinery_Pad.Evaluate) * (1 - Function_Is_Outpost_Pad.Evaluate) * (1 - Variable_Target.Type.IsType {Parameter_Type = "Skirmish_Build_Pad" ,Parameter_Type = "Rebel_Build_Pad" ,Parameter_Type = "Empire_Build_Pad" ,Parameter_Type = "Underworld_Build_Pad" ,Parameter_Type = "Hutt_Build_Pad" ,Parameter_Type = "Pirate_Build_Pad"}) * (1 - Variable_Target.HasBuiltObject) * ( 1 + 20 * (Function_Num_Refineries.Evaluate > 0) * (Variable_Target.Type.IsType {Parameter_Type = "R_Ground_Power_Generator_Build_Pad" ,Parameter_Type = "E_Ground_Power_Generator_Build_Pad" ,Parameter_Type = "U_Ground_Power_Generator_Build_Pad" ,Parameter_Type = "P_Ground_Power_Generator_Build_Pad" ,Parameter_Type = "H_Ground_Power_Generator_Build_Pad"}) + (1.0 - Function_Skirmish_Upgrade_Tech.Evaluate) * (30 * (Variable_Target.Location.EnemyForce == 0.0)) - 10 * (Variable_Target.Type.IsType {Parameter_Type = "R_Ground_Communications_Array_Build_Pad" ,Parameter_Type = "E_Ground_Communications_Array_Build_Pad" ,Parameter_Type = "H_Ground_Communications_Array_Build_Pad" ,Parameter_Type = "E_Ground_Research_Facility_Build_Pad" ,Parameter_Type = "H_Ground_Advanced_Technologies_Facility_Build_Pad" ,Parameter_Type = "R_Ground_Research_Facility_Build_Pad"}) ) * (1.0 - Function_May_Lose_Land_Control_Game.Evaluate) Function_Tactical_Multiplayer_Should_Build_Structure_Generic_Land.Evaluate * (1 - Function_Is_Saving_For_Refineries_Land.Evaluate) * (1 - Variable_Target.Type.IsType {Parameter_Type = "E_Ground_Barracks_Build_Pad", Parameter_Type = "R_Ground_Barracks_Build_Pad", Parameter_Type = "U_Ground_Barracks_Build_Pad", Parameter_Type = "H_Ground_Barracks_Build_Pad", Parameter_Type = "Pirate_Outpost_Build_Pad", Parameter_Type = "Imperial_Command_Center_Build_Pad", Parameter_Type = "Rebel_Command_Center_Build_Pad", Parameter_Type = "Underworld_Palace_Build_Pad", Parameter_Type = "Hutts_Command_Center_Build_Pad", Parameter_Type = "Pirate_Command_Center_Build_Pad"}) * Function_Is_Initial_Skirmish_State_Established.Evaluate Function_Tactical_Multiplayer_Should_Build_Structure_Generic_Land.Evaluate * Variable_Target.Type.IsType {Parameter_Type = "E_Ground_Barracks_Build_Pad", Parameter_Type = "R_Ground_Barracks_Build_Pad", Parameter_Type = "Pirate_Outpost_Build_Pad", Parameter_Type = "U_Ground_Barracks_Build_Pad", Parameter_Type = "H_Ground_Barracks_Build_Pad"} * 25.0 * (1 + (Variable_Self.FriendlyForceUnnormalized {Parameter_Category = GameObjectCategoryType[Infantry | Hero]} == 0.0)) 50.0 * Function_Tactical_Multiplayer_Should_Build_Structure_Generic_Land.Evaluate * Variable_Target.Type.IsType {Parameter_Type = "Imperial_Command_Center_Build_Pad", Parameter_Type = "Rebel_Command_Center_Build_Pad", Parameter_Type = "Pirate_Command_Center_Build_Pad", Parameter_Type = "Hutts_Command_Center_Build_Pad", Parameter_Type = "Underworld_Palace_Build_Pad"} 25 * (1 - Function_Is_Saving_For_Refineries_Land.Evaluate) * (1 - Function_Skirmish_Upgrade_Tech.Evaluate) * Function_Should_Purchase_Ability_Generic.Evaluate * (Function_Num_Refineries.Evaluate > 0) (Function_Num_Open_Land_Econ_Structure_Build_Locations.Evaluate > 0) * (4 > Variable_Self.TacticalBuiltStructureCount{Parameter_Type = "Empire_Mineral_Processor" ,Parameter_Type = "Rebel_Mineral_Processor" ,Parameter_Type = "Underworld_Mineral_Processor" ,Parameter_Type = "Hutts_Mineral_Processor" ,Parameter_Type = "Pirate_Mineral_Processor" ,Parameter_Type = "Empire_Ground_Mining_Facility" ,Parameter_Type = "Rebel_Ground_Mining_Facility" ,Parameter_Type = "Underworld_Ground_Mining_Facility" ,Parameter_Type = "Hutts_Ground_Mining_Facility" ,Parameter_Type = "Pirate_Ground_Mining_Facility"}) * (1500 > Variable_Self.CreditsUnnormalized) * Function_Want_More_Resource_Structures_Land.Evaluate Variable_Self.TacticalBuiltStructureCount{Parameter_Type = "Empire_Mineral_Processor" ,Parameter_Type = "Rebel_Mineral_Processor" ,Parameter_Type = "Underworld_Mineral_Processor" ,Parameter_Type = "Hutts_Mineral_Processor" ,Parameter_Type = "Pirate_Mineral_Processor" ,Parameter_Type = "Empire_Ground_Mining_Facility" ,Parameter_Type = "Rebel_Ground_Mining_Facility" ,Parameter_Type = "Underworld_Ground_Mining_Facility" ,Parameter_Type = "Hutts_Ground_Mining_Facility" ,Parameter_Type = "Pirate_Ground_Mining_Facility"} (Variable_Target.Type.IsType {Parameter_Type = "Skirmish_Mineral_Processor_Pad"} + Variable_Target.Type.IsType {Parameter_Type = "N_Ground_Mining_Facility_Build_Pad"}) > 0 50.0 * (Function_Is_Refinery_Pad.Evaluate + Function_Is_Outpost_Pad.Evaluate) * ( 0.2 > ( Variable_Target.Location.EnemyForce / (Variable_Target.Location.EnemyForce + Variable_Target.Location.FriendlyForce ) ) ) * (Variable_Target.DistanceToNearestEnemy{Parameter_Category = GameObjectCategoryType[Structure]} > 500) (1 - Function_Is_Skirmish_Tech_Maxed.Evaluate) * ( Function_Should_Burn_Units_Land.Evaluate + (Variable_Self.TacticalBuiltStructureCount {Parameter_Type = "Empire_Ground_Mining_Facility", Parameter_Type = "Rebel_Ground_Mining_Facility", Parameter_Type = "Underworld_Ground_Mining_Facility", Parameter_Type = "Hutts_Ground_Mining_Facility", Parameter_Type = "Pirate_Ground_Mining_Facility", Parameter_Type = "Empire_Mineral_Processor", Parameter_Type = "Rebel_Mineral_Processor", Parameter_Type = "Underworld_Mineral_Processor", Parameter_Type = "Hutts_Mineral_Processor", Parameter_Type = "Pirate_Mineral_Processor"} >= 1) * (Variable_Self.FriendlyForceUnnormalized > 400) * ( (Variable_Self.FriendlyForce > (0.65 * Variable_Self.EnemyForce)) * (1 - Variable_Self.HasUnit{Parameter_Type = "RC_Level_Two_Tech_Upgrade", Parameter_Type = "EC_Level_Two_Tech_Upgrade", Parameter_Type = "HC_Level_Two_Tech_Upgrade", Parameter_Type = "PC_Level_Two_Tech_Upgrade", Parameter_Type = "UC_Level_Two_Tech_Upgrade"}) + (Variable_Self.FriendlyForce > 0.75 * Variable_Self.EnemyForce) * (Variable_Self.FriendlyForceUnnormalized > 3000) * (1 - Variable_Self.HasUnit{Parameter_Type = "RC_Level_Three_Tech_Upgrade", Parameter_Type = "EC_Level_Three_Tech_Upgrade", Parameter_Type = "HC_Level_Three_Tech_Upgrade", Parameter_Type = "PC_Level_Three_Tech_Upgrade", Parameter_Type = "UC_Level_Three_Tech_Upgrade"}) + (Variable_Self.FriendlyForce > 0.75 * Variable_Self.EnemyForce) * (Variable_Self.FriendlyForceUnnormalized > 4000) * (1 - Variable_Self.HasUnit{Parameter_Type = "RC_Level_Four_Tech_Upgrade", Parameter_Type = "EC_Level_Four_Tech_Upgrade", Parameter_Type = "HC_Level_Four_Tech_Upgrade", Parameter_Type = "PC_Level_Four_Tech_Upgrade", Parameter_Type = "UC_Level_Four_Tech_Upgrade"}) ) ) * (1.0 - Function_May_Lose_Land_Control_Game.Evaluate) > 0 50.0 * Function_Skirmish_Upgrade_Tech.Evaluate Variable_Self.HasUnit{Parameter_Type = "RC_Level_Four_Tech_Upgrade", Parameter_Type = "EC_Level_Four_Tech_Upgrade", Parameter_Type = "HC_Level_Four_Tech_Upgrade", Parameter_Type = "PC_Level_Four_Tech_Upgrade", Parameter_Type = "UC_Level_Four_Tech_Upgrade"} 50 * (Game.IsCampaignGame == 0) * (Variable_Self.ReinforcementsUnnormalized {Parameter_Category = GameObjectCategoryType[LandHero]} > 0) (Variable_Self.HasUnit {Parameter_Type = "Reinforcement_Point"} == 0) * Game.IsLandControlGame Function_ReallyBig.Evaluate * Function_Is_Initial_Skirmish_State_Established.Evaluate * (1.0 - Function_May_Lose_Land_Control_Game.Evaluate) Variable_Self.HasUnit {Parameter_Type = "E_Ground_Barracks", Parameter_Type = "R_Ground_Barracks", Parameter_Type = "H_Ground_Barracks", Parameter_Type = "P_Ground_Outpost", Parameter_Type = "U_Ground_Barracks"} * Variable_Self.HasUnit {Parameter_Type = "E_Ground_Command_Center", Parameter_Type = "R_Ground_Command_Center", Parameter_Type = "H_Ground_Command_Center", Parameter_Type = "P_Ground_Command_Center", Parameter_Type = "U_Ground_Palace"} * (Function_Num_Refineries.Evaluate > 0) * (Function_Non_Structure_Force_Unnormalized.Evaluate > 0.0) + Variable_Self.HasUnit{Parameter_Type = "RC_Level_Two_Tech_Upgrade", Parameter_Type = "EC_Level_Two_Tech_Upgrade", Parameter_Type = "UC_Level_Two_Tech_Upgrade", Parameter_Type = "HC_Level_Two_Tech_Upgrade", Parameter_Type = "PC_Level_Two_Tech_Upgrade", Parameter_Type = "RC_Level_Three_Tech_Upgrade", Parameter_Type = "EC_Level_Three_Tech_Upgrade", Parameter_Type = "UC_Level_Three_Tech_Upgrade", Parameter_Type = "HC_Level_Three_Tech_Upgrade", Parameter_Type = "PC_Level_Three_Tech_Upgrade", Parameter_Type = "RC_Level_Four_Tech_Upgrade", Parameter_Type = "EC_Level_Four_Tech_Upgrade", Parameter_Type = "UC_Level_Four_Tech_Upgrade", Parameter_Type = "HC_Level_Four_Tech_Upgrade", Parameter_Type = "PC_Level_Four_Tech_Upgrade"} 100.0 * ((200 > Function_Non_Structure_Force_Unnormalized.Evaluate) * (Function_Is_Initial_Skirmish_State_Established.Evaluate == 0) + Function_May_Lose_Land_Control_Game.Evaluate) Game.IsLandControlGame * Variable_Target.Type.IsType {Parameter_Type = "Reinforcement_Point"} * (30.0 + 30.0 * Function_May_Lose_Land_Control_Game.Evaluate) (Variable_Self.OpenBuildPadCount{Parameter_Type = "N_Ground_Mining_Facility_Build_Pad" ,Parameter_Type = "Skirmish_Mineral_Processor_Pad" ,Parameter_Type = "Skirmish_Outpost_Pad"}) Variable_Target.Type.IsType {Parameter_Type = "Bunker_Pad"} * (1 - Variable_Target.HasBuiltObject) * Function_Is_Allowed_To_Build.Evaluate * 15 * (Game.Age > 60) * (1.0 + Variable_Self.Force {Parameter_Category = GameObjectCategoryType[Infantry]}) * (Variable_Self.FriendlyForceUnnormalized {Parameter_Category = GameObjectCategoryType[Infantry]} > 800.0) 50.0 * Variable_Self.HasUnit {Parameter_Type = "E_Ground_Command_Center", Parameter_Type = "R_Ground_Command_Center", Parameter_Type = "H_Ground_Command_Center", Parameter_Type = "P_Ground_Command_Center", Parameter_Type = "U_Ground_Palace"} * (3000.0 > Variable_Self.CreditsUnnormalized) * (Variable_Self.EnemyForceUnnormalized > Variable_Self.FriendlyForceUnnormalized) * (Game.Age > 180.0) * (Game.IsCampaignGame == 0.0)