mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
AV-8B LIG and Unicorn fix
This commit is contained in:
parent
db5797bb4e
commit
53367c786e
@ -12206,6 +12206,7 @@ end
|
|||||||
-- * > 24 seconds: No Grade "--"
|
-- * > 24 seconds: No Grade "--"
|
||||||
--
|
--
|
||||||
-- If you manage to be between 16.4 and and 16.6 seconds, you will even get and okay underline "\_OK\_".
|
-- If you manage to be between 16.4 and and 16.6 seconds, you will even get and okay underline "\_OK\_".
|
||||||
|
-- No groove time for Harrier on LHA, LHD set to Tgroove Unicorn as starting point to allow possible _OK_ 5.0.
|
||||||
--
|
--
|
||||||
-- @param #AIRBOSS self
|
-- @param #AIRBOSS self
|
||||||
-- @param #AIRBOSS.PlayerData playerData Player data table.
|
-- @param #AIRBOSS.PlayerData playerData Player data table.
|
||||||
@ -12224,6 +12225,8 @@ function AIRBOSS:_EvalGrooveTime(playerData)
|
|||||||
grade="OK Groove"
|
grade="OK Groove"
|
||||||
elseif t<=24 then
|
elseif t<=24 then
|
||||||
grade="(LIG)"
|
grade="(LIG)"
|
||||||
|
elseif t>=25 and aircrafttype~=AIRBOSS.AircraftCarrier.AV8B then -- VSTOL Operations with AV-8B
|
||||||
|
grade="OK V/STOL Groove"
|
||||||
else
|
else
|
||||||
grade="LIG"
|
grade="LIG"
|
||||||
end
|
end
|
||||||
@ -12258,7 +12261,7 @@ function AIRBOSS:_LSOgrade(playerData)
|
|||||||
-- Put everything together.
|
-- Put everything together.
|
||||||
local G=GXX.." "..GIM.." ".." "..GIC.." "..GAR
|
local G=GXX.." "..GIM.." ".." "..GIC.." "..GAR
|
||||||
|
|
||||||
-- Count number of minor, normal and major deviations.
|
-- Count number of minor, normal and major deviations. TODO - work on Harrier counts due slower approach speed.
|
||||||
local N=nXX+nIM+nIC+nAR
|
local N=nXX+nIM+nIC+nAR
|
||||||
local nL=count(G, '_')/2
|
local nL=count(G, '_')/2
|
||||||
local nS=count(G, '%(')
|
local nS=count(G, '%(')
|
||||||
@ -12270,8 +12273,8 @@ function AIRBOSS:_LSOgrade(playerData)
|
|||||||
|
|
||||||
local grade
|
local grade
|
||||||
local points
|
local points
|
||||||
if N==0 and TgrooveUnicorn then
|
if N==0 and (TgrooveUnicorn or aircrafttype~=AIRBOSS.AircraftCarrier.AV8B) then
|
||||||
-- No deviations, should be REALLY RARE!
|
-- No deviations, should be REALLY RARE! Grove time for AV-8B Harrier not required, possible to still get Unicorn.
|
||||||
grade="_OK_"
|
grade="_OK_"
|
||||||
points=5.0
|
points=5.0
|
||||||
G="Unicorn"
|
G="Unicorn"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user