mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS
**ZONE** - Fixed incorrect fillcolor alpha. **COORDINATE** - Fixed incorrect fillcolor alpha. **AUFTRAG** - Fixed `CASENHANCED` order of arguments wrong in docs. **FLEET** - Improved docs. - Added ``:SetPathfinding` function **OPSGROUP** - Fixed RECON mission behaviour if not random. - Improved stuck check if engaging. **LEGION** - Added weapon type as parameter for selecting cohort assets. **COHORT** - Added `:GetMissionRange` function that accounts for long range weapons. - Added counting of asset ammo.
This commit is contained in:
@@ -118,7 +118,7 @@
|
||||
--
|
||||
-- ## Adding Fleets
|
||||
--
|
||||
-- Fleets are not implemented yet.
|
||||
-- Fleets can be added via the @{#CHIEF.AddFleet}() function.
|
||||
--
|
||||
--
|
||||
-- # Strategic (Capture) Zones
|
||||
@@ -866,12 +866,24 @@ end
|
||||
-- @return #CHIEF self
|
||||
function CHIEF:AddBrigade(Brigade)
|
||||
|
||||
-- Add brigade to the commander
|
||||
-- Add brigade to the commander.
|
||||
self:AddLegion(Brigade)
|
||||
|
||||
return self
|
||||
end
|
||||
|
||||
--- Add a FLEET to the chief's commander.
|
||||
-- @param #CHIEF self
|
||||
-- @param Ops.Fleet#FLEET Fleet The fleet to add.
|
||||
-- @return #CHIEF self
|
||||
function CHIEF:AddFleet(Fleet)
|
||||
|
||||
-- Add fleet to the commander.
|
||||
self:AddLegion(Fleet)
|
||||
|
||||
return self
|
||||
end
|
||||
|
||||
--- Add a LEGION to the chief's commander.
|
||||
-- @param #CHIEF self
|
||||
-- @param Ops.Legion#LEGION Legion The legion to add.
|
||||
@@ -2373,7 +2385,7 @@ end
|
||||
|
||||
--- Get mission performance for a given TARGET.
|
||||
-- @param #CHIEF self
|
||||
-- @param Ops.Target#TARGET Target
|
||||
-- @param Ops.Target#TARGET Target The target.
|
||||
-- @return #table Mission performances of type `#CHIEF.MissionPerformance`.
|
||||
function CHIEF:_GetMissionPerformanceFromTarget(Target)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user