Raid â€” At the beginning of your end step, if you attacked with a creature this turn, target opponent puts the top four cards of their library into their graveyard.
Some raid abilities trigger at the beginning of your end step. These abilities trigger if you attacked with a creature that turn, even if the card with that raid ability wasnâ€™t on the battlefield when you attacked.
Raid abilities evaluate the entire turn to see if you attacked with a creature. That creature doesnâ€™t have to still be on the battlefield. Similarly, the player or planeswalker it attacked doesnâ€™t have to still be in the game or on the battlefield, respectively.
Raid abilities care only that you attacked with a creature. It doesnâ€™t matter how many creatures you attacked with, or which opponent or planeswalker controlled by an opponent those creatures attacked.