- Fixed a couple of minor bugs.
- FC added _PlayerAbortInbound function
This commit is contained in:
Frank
2021-10-05 23:59:24 +02:00
parent 1790d19809
commit 5dbf743052
8 changed files with 98 additions and 25 deletions

View File

@@ -1446,9 +1446,17 @@ function CHIEF:CheckTargetQueue()
-- * number of enemy units
-- * target threatlevel
-- * how many assets are still in stock
-- * is it inside of our border
-- * is it inside of our border
local NassetsMin=1
local NassetsMax=3
local NassetsMax=1
if target.threatlevel0>=8 then
NassetsMax=3
elseif target.threatlevel0>=5 then
NassetsMax=2
else
NassetsMax=1
end
for _,_mp in pairs(MissionPerformances) do
local mp=_mp --#CHIEF.MissionPerformance