Chewbacca:
When you are dealt a faceup Damage card, immediately flip it facedown (without resolving its ability).
Determination:
When you are dealt a faceup Damage card with the Pilot trait, discard it immediately without resolving its effect.
If Chewbacca has the Determination EPT does he discard faceup Damage cards with the Pilot trait or flip them face down? Does an upgrade or Pilot take priority? Which immediately happens first or is it up to the player to decide?