text: Use the power of the Wraiths as the triggered ability resolves to determine the value of X. If one or more of those Wraiths are no longer on the battlefield at that time, use their power from when they were last on the battlefield.