The ranger is an 8th-level spellcaster. Its spellcasting ability is Wisdom (spell save DC 12, +4 to hit with spell attacks). The ranger knows the following ranger spells: 1st level (4 slots): cure wounds, fog cloud, hunter's mark 2nd level (3 slots): pass without trace, silence
Escape the Horde. Opportunity attacks made against the ranger have disadvantage. Primeval Awareness. The ranger expends a spell slot to sense whether there are any aberrations, celestials, dragons, elementals, fey, fiends, or undead within 1 mile.
Multiattack. The ranger makes two melee or two ranged attacks. Shortsword. Melee Weapon Attack: +6 to hit, reach 5 ft., one target. Hit: 7 (1d6 + 4) piercing damage. Longbow. Ranged Weapon Attack: +6 to hit, range 150/600 ft., one target. Hit: 8 (1d8 + 4) piercing damage.