diff --git a/luarules/configs/BARb/stable/config/hard/behaviour.json b/luarules/configs/BARb/stable/config/hard/behaviour.json index 14ec6d0afb8..32ba9fb0515 100644 --- a/luarules/configs/BARb/stable/config/hard/behaviour.json +++ b/luarules/configs/BARb/stable/config/hard/behaviour.json @@ -1876,21 +1876,21 @@ } }, "leglob": { - "role": ["skirmish", "raider"], + "role": ["skirmish"], "attribute": ["scout"], "threat": {"air": 0.0, "water": 0.0, "vs": {"artillery": 2.0, "anti_air": 2.0} } }, "legkark": { - "role": ["riot", "Skirmish"], + "role": ["riot", "siege"], "threat": {"surf": 1.2, "vs":{"raider": 2.0}}, "retreat": 0.5 }, "leggob": { "role": ["skirmish"], "attribute": ["scout"], - "threat":{"air": 0.0, "water": 0.0, + "threat":{"air": 0.05, "water": 0.0, "vs":{"artillery": 2.0, "anti_air": 2.0} } }, @@ -2243,7 +2243,7 @@ }, "legmext15" : { "role": ["static"], - "since": 300, + "since": 500, "build_mod": 200 }, "legmoho" : { diff --git a/luarules/configs/BARb/stable/script/hard/manager/factory.as b/luarules/configs/BARb/stable/script/hard/manager/factory.as index b1bedce40e7..8e75e357902 100644 --- a/luarules/configs/BARb/stable/script/hard/manager/factory.as +++ b/luarules/configs/BARb/stable/script/hard/manager/factory.as @@ -39,6 +39,15 @@ string corasy ("corasy"); string corap ("corap"); string coraap ("coraap"); string corgant ("corgant"); +string leglab ("leglab"); +string legalab ("legalab"); +string legvp ("legvp"); +string legavp ("legavp"); +string legsy ("legjim"); +string legasy ("legasy"); +string legap ("legap"); +string legaap ("legaap"); +string leggant ("leggant"); float switchLimit = MakeSwitchLimit(); diff --git a/luarules/configs/BARb/stable/script/hard/misc/commander.as b/luarules/configs/BARb/stable/script/hard/misc/commander.as index 1a79fd5902d..786a451cdf8 100644 --- a/luarules/configs/BARb/stable/script/hard/misc/commander.as +++ b/luarules/configs/BARb/stable/script/hard/misc/commander.as @@ -104,6 +104,36 @@ SOpener@ GetOpenInfo() }}, {Factory::corasy, array = { SQueue(0.5f, {SO(RT::BUILDER2), SO(RT::SKIRM), SO(RT::BUILDER2), SO(RT::SKIRM), SO(RT::BUILDER2, 2)}) + }}, + {Factory::leglab, array = { + SQueue(0.3f, {SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER, 4), SO(RT::BUILDER), SO(RT::RAIDER, 2)}), + SQueue(0.3f, {SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER, 2), SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER, 2), SO(RT::RIOT), SO(RT::BUILDER), SO(RT::RAIDER, 2)}), + SQueue(0.3f, {SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER)}) + }}, + {Factory::legvp, array = { + //standard + SQueue(0.4f, {SO(RT::SCOUT), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER, 2), SO(RT::BUILDER), SO(RT::RAIDER, 2), SO(RT::BUILDER), SO(RT::RAIDER, 2)}), + // raider serial production + SQueue(0.3f, {SO(RT::SCOUT), SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER, 5), SO(RT::BUILDER)}), + // scout start + //SQueue(0.2f, {SO(RT::SCOUT, 4), SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER)}), + //defensive eco start + SQueue(0.2f, {SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER)}) + }}, + {Factory::legalab, array = { + SQueue(1.0f, {SO(RT::BUILDER2), SO(RT::RAIDER, 3), SO(RT::BUILDER2), SO(RT::RAIDER, 3), SO(RT::BUILDER2), SO(RT::SKIRM), SO(RT::HEAVY), SO(RT::BUILDER2), SO(RT::ASSAULT, 2), SO(RT::BUILDER2)}) + }}, + {Factory::legavp, array = { + SQueue(1.0f, {SO(RT::BUILDER2), SO(RT::SKIRM, 2), SO(RT::BUILDER2), SO(RT::ASSAULT), SO(RT::BUILDER2),SO(RT::HEAVY), SO(RT::BUILDER2, 2)}) + }}, + {Factory::leggant, array = { + SQueue(1.0f, {SO(RT::RAIDER), SO(RT::ASSAULT), SO(RT::ARTY, 2)}) + }}, + {Factory::legsy, array = { + SQueue(0.3f, {SO(RT::SCOUT), SO(RT::BUILDER), SO(RT::SCOUT), SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::SCOUT), SO(RT::BUILDER), SO(RT::SUB), SO(RT::SKIRM)}) + }}, + {Factory::legasy, array = { + SQueue(0.5f, {SO(RT::BUILDER2), SO(RT::SKIRM), SO(RT::BUILDER2), SO(RT::SKIRM), SO(RT::BUILDER2, 2)}) }} }, {SO(RT::BUILDER), SO(RT::RAIDER, 3), SO(RT::BUILDER), SO(RT::RAIDER)} ); diff --git a/luarules/configs/BARb/stable/script/hard_aggressive/manager/factory.as b/luarules/configs/BARb/stable/script/hard_aggressive/manager/factory.as index f80732e569e..636709f3927 100644 --- a/luarules/configs/BARb/stable/script/hard_aggressive/manager/factory.as +++ b/luarules/configs/BARb/stable/script/hard_aggressive/manager/factory.as @@ -40,6 +40,15 @@ string corasy ("corasy"); string corap ("corap"); string coraap ("coraap"); string corgant ("corgant"); +string leglab ("leglab"); +string legalab ("legalab"); +string legvp ("legvp"); +string legavp ("legavp"); +string legsy ("legjim"); +string legasy ("legasy"); +string legap ("legap"); +string legaap ("legaap"); +string leggant ("leggant"); int switchInterval = MakeSwitchInterval(); diff --git a/luarules/configs/BARb/stable/script/hard_aggressive/misc/commander.as b/luarules/configs/BARb/stable/script/hard_aggressive/misc/commander.as index 669e636018d..05e45c12e36 100644 --- a/luarules/configs/BARb/stable/script/hard_aggressive/misc/commander.as +++ b/luarules/configs/BARb/stable/script/hard_aggressive/misc/commander.as @@ -5,6 +5,7 @@ namespace Commander { string armcom("armcom"); string corcom("corcom"); +string legcom("legcom"); } @@ -74,6 +75,22 @@ SOpener@ GetOpenInfo() }}, {Factory::corap, array = { SQueue(1.0f, {SO(RT::BUILDER), SO(RT::AA), SO(RT::RAIDER), SO(RT::BOMBER), SO(RT::SCOUT)}) + }}, + {Factory::leglab, array = { + SQueue(0.9f, {SO(RT::BUILDER), SO(RT::SCOUT), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER, 3), SO(RT::BUILDER), SO(RT::RAIDER, 2)}), + SQueue(0.1f, {SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RIOT), SO(RT::BUILDER), SO(RT::RAIDER, 4), SO(RT::BUILDER), SO(RT::RAIDER, 2)}) + }}, + {Factory::legalab, array = { + SQueue(1.0f, {SO(RT::BUILDER2), SO(RT::RAIDER, 3), SO(RT::BUILDER2), SO(RT::ARTY, 2), SO(RT::ASSAULT), SO(RT::BUILDER2), SO(RT::AA)}) + }}, + {Factory::legavp, array = { + SQueue(1.0f, {SO(RT::BUILDER2), SO(RT::SKIRM, 3), SO(RT::BUILDER2), SO(RT::SKIRM, 2), SO(RT::ASSAULT), SO(RT::AA), SO(RT::BUILDER2)}) + }}, + {Factory::legasy, array = { + SQueue(1.0f, {SO(RT::BUILDER2), SO(RT::SKIRM, 2), SO(RT::BUILDER2), SO(RT::SKIRM), SO(RT::BUILDER2), SO(RT::ARTY), SO(RT::AA), SO(RT::BUILDER2)}) + }}, + {Factory::legap, array = { + SQueue(1.0f, {SO(RT::BUILDER), SO(RT::AA), SO(RT::RAIDER), SO(RT::BOMBER), SO(RT::SCOUT)}) }} }, {SO(RT::BUILDER), SO(RT::SCOUT), SO(RT::RAIDER, 3), SO(RT::BUILDER), SO(RT::RAIDER), SO(RT::BUILDER), SO(RT::RAIDER)} );