mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
AB 0998
This commit is contained in:
parent
6593a262bb
commit
4c08002d3e
@ -1667,7 +1667,7 @@ AIRBOSS.MenuF10Root=nil
|
||||
|
||||
--- Airboss class version.
|
||||
-- @field #string version
|
||||
AIRBOSS.version="0.9.9.7"
|
||||
AIRBOSS.version="0.9.9.8"
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
-- TODO list
|
||||
@ -8861,8 +8861,11 @@ function AIRBOSS:_Initial(playerData)
|
||||
-- Relative heading to carrier direction.
|
||||
local relheading=self:_GetRelativeHeading(playerData.unit, false)
|
||||
|
||||
-- Alitude of player in feet.
|
||||
local altitude=UTILS.MetersToFeet(playerData.unit:GetAltitude())
|
||||
|
||||
-- Check if player is in zone and flying roughly in the right direction.
|
||||
if inzone and math.abs(relheading)<60 then
|
||||
if inzone and math.abs(relheading)<60 and altitude<=1300 then
|
||||
|
||||
-- Send message for normal and easy difficulty.
|
||||
if playerData.showhints then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user