5e Template Preload
From D&D Wiki
The can take 3 legendary actions, choosing from the options below. Only one legendary action option can be used at a time and only at the end of another creature's turn. The regains spent legendary actions at the start of its turn.