(Deathly Retreat isn't a spell.)
At the beginning of your end step, if you didn't cast any spells this turn, Deathly Retreat deals 1 damage to you.
,
: Tap target artifact with converted mana cost X or less.
,
: Add 
, 
or 
to your mana pool. Deathly Retreat deals 1 damage to you.