this works

/stopmacro [noexists][noharm][dead]
/startattack
/petattack
/castsequence reset=target/15 Immolate, null
/castsequence reset=target/15 Corruption, null
/cast Shadow Bolt