From 8ecfd913a34fe19e2fc2b291120481aa9acc349a Mon Sep 17 00:00:00 2001 From: Penecruz <73371761+Penecruz@users.noreply.github.com> Date: Wed, 1 Sep 2021 22:31:36 +1000 Subject: [PATCH] Av-8B specific deviation counts adj. --- Moose Development/Moose/Ops/Airboss.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Moose Development/Moose/Ops/Airboss.lua b/Moose Development/Moose/Ops/Airboss.lua index 9bf8113f6..dab7312e1 100644 --- a/Moose Development/Moose/Ops/Airboss.lua +++ b/Moose Development/Moose/Ops/Airboss.lua @@ -12252,7 +12252,7 @@ function AIRBOSS:_LSOgrade(playerData) return select(2, string.gsub(base, pattern, "")) end - -- Analyse flight data and conver to LSO text. + -- Analyse flight data and convert to LSO text. local GXX,nXX=self:_Flightdata2Text(playerData, AIRBOSS.GroovePos.XX) local GIM,nIM=self:_Flightdata2Text(playerData, AIRBOSS.GroovePos.IM) local GIC,nIC=self:_Flightdata2Text(playerData, AIRBOSS.GroovePos.IC) @@ -12291,6 +12291,22 @@ function AIRBOSS:_LSOgrade(playerData) -- Only minor corrections grade="OK" points=4.0 + end + -- Add AV-8B Harrier devation allowances due to lower groundspeed and 3x conventional groove time, this allows to maintain LSO tolerances while respecting the deviations are not unsafe. (WIP requires feedback) + -- Large devaitions still result in a No Grade, A Unicorn still requires a clean pass with no deviation. + if nL>2 and aircrafttype~=AIRBOSS.AircraftCarrier.AV8B then + -- Larger deviations ==> "No grade" 2.0 points. + grade="--" + points=2.0 + + elseif nN>2 and aircrafttype~=AIRBOSS.AircraftCarrier.AV8B then + -- Only average deviations ==> "Fair Pass" Pass with average deviations and corrections. + grade="(OK)" + points=3.0 + else + -- Only minor corrections + grade="OK" + points=4.0 end end