An object of various requirements you might have for the rift you want
OptionalcanSet to true if you want to only select a rift that you can currently access
Optionaldrops?: Item[]Set to an array of item drops you want to come from monsters in the rift
Optionalmonsters?: Monster[]Set to an array of Shadow Monsters you want to be available in the rift
OptionalotherSet an optional additional filtering function not covered by the above logic
OptionalsortSet a function used to compare valid rifts between eachother; bigger numbers are better
A rift that meets the criteria you specify, if one exists
Choose a shadow rift to suit your needs