Impact Resonance looks at the entire turn to see the greatest amount of damage dealt from a single source to a single permanent or player. For example, if the only damage dealt during the turn was Earthquake, which dealt 5 damage to each of four creatures and two players, then X is 5.