Dead Imp Hexer Granting Spell

I’ve just started a new mage who has acquired an imp hexer. This creature’s ability is to grant a zero cost shellburst spell to the whole team. In my last battle he was killed almost immediately, but my creatures could still cast the spell. Working as intended?