if not CWF then -- no CWF means no flying |
return "LAND" |
end |
local _, _, isActive = GetWorldPVPAreaInfo(1) |
return ((zone == L.LIVESTOCK_ZONE_WINTERGRASP and isActive == true) and "LAND") or "FLYING" -- check to see if a battle is in progress and if so, we're on a land mount. If not, flying mount. |
local _, _, isActive, _, startTime = GetWorldPVPAreaInfo(1) |
return ((zone == L.LIVESTOCK_ZONE_WINTERGRASP and startTime == 0) and "LAND") or "FLYING" -- check to see if a battle is in progress and if so, we're on a land mount. If not, flying mount. |
else |
return "LAND" |
end |