—
2023-06-16
The value of X is determined only as Bag End Porter's triggered ability resolves. It won't change later in the turn if the number of legendary creatures you control changes.