updated for LuaLS findings
This commit is contained in:
@@ -66,8 +66,6 @@ local function ParseZoneName(input)
|
||||
}
|
||||
end
|
||||
|
||||
MINIMAL_UNITS_ALIVE_RATIO = 0.21
|
||||
|
||||
---comment
|
||||
---@param zoneName string
|
||||
---@param priority MissionPriority
|
||||
@@ -232,7 +230,7 @@ end
|
||||
---@param messageIfDone boolean
|
||||
function ZoneMission:UpdateState(checkHealth, messageIfDone)
|
||||
if checkHealth == nil then checkHealth = false end
|
||||
if messageIfDone == false then messageIfDone = true end
|
||||
if messageIfDone == nil then messageIfDone = true end
|
||||
|
||||
|
||||
if checkHealth == true then
|
||||
|
||||
@@ -133,9 +133,9 @@ function Mission:ForceMissionComplete()
|
||||
self:NotifyMissionComplete()
|
||||
end
|
||||
|
||||
---@param groupId number
|
||||
---@param _groupId number
|
||||
---@diagnostic disable-next-line: unused-local
|
||||
function Mission:MarkMissionAreaToGroup(groupId) end
|
||||
function Mission:MarkMissionAreaToGroup(_groupId) end
|
||||
|
||||
---endregion
|
||||
|
||||
@@ -147,8 +147,6 @@ function Mission:ToStateString() return "status: in progress" end
|
||||
|
||||
--endregion
|
||||
|
||||
do --aliases
|
||||
|
||||
--- @alias MissionPriority
|
||||
--- | "none"
|
||||
--- | "primary"
|
||||
@@ -170,6 +168,5 @@ do --aliases
|
||||
--- | "ACTIVE"
|
||||
--- | "COMPLETED"
|
||||
|
||||
end
|
||||
|
||||
return Mission
|
||||
Reference in New Issue
Block a user