mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-21 11:53:30 +00:00
AB 0998
This commit is contained in:
@@ -1667,7 +1667,7 @@ AIRBOSS.MenuF10Root=nil
|
|||||||
|
|
||||||
--- Airboss class version.
|
--- Airboss class version.
|
||||||
-- @field #string version
|
-- @field #string version
|
||||||
AIRBOSS.version="0.9.9.7"
|
AIRBOSS.version="0.9.9.8"
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
-- TODO list
|
-- TODO list
|
||||||
@@ -8861,8 +8861,11 @@ function AIRBOSS:_Initial(playerData)
|
|||||||
-- Relative heading to carrier direction.
|
-- Relative heading to carrier direction.
|
||||||
local relheading=self:_GetRelativeHeading(playerData.unit, false)
|
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.
|
-- 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.
|
-- Send message for normal and easy difficulty.
|
||||||
if playerData.showhints then
|
if playerData.showhints then
|
||||||
|
|||||||
Reference in New Issue
Block a user