Jaya's Immolating Inferno

Jaya's Immolating Inferno

(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.) Jaya's Immolating Inferno deals X damage to each of up to three targets.