If a Phantom with ACD attacks Dengar, can it cloak before Dengar's counterattack? ACD says "After you perform an attack, you may perform a free cloak action." Dengar says "Once per round after defending, if the attacker is inside your firing arc, you may perform an attack against that ship."
My best guess is that they have the same trigger, i.e. "after you perform an attack" and "after defending" both trigger as soon as the attack is done. Which would mean that whoever has initiative would get to respond to the trigger first. Is that right?