For spells with in their mana costs, use the value chosen for X to determine if the spell's mana value is the chosen number. For example, if the chosen number is 4, a spell with mana cost cast with X equal to 2 would cause Talion's last ability to trigger.