https://www.sageadvice.eu/does-ritual-casting-of-a-spell-counts-as-casting-that-spell-for-all-the-effects-related-to-the-spell/
Does ritual casting of a spell counts as casting that spell for all the effects related to the spell?