Olaf is not an invalid target in this case, and it is not a bug. The way it is coded, the animation and sound are associated with pressing the spell in range of a valid target. Though Olaf is invulnerable to cc during his ultimate, he is still a target which you can use devour on.
The way Devour seems to work currently, a target with CC immunity is not a valid target since TK can't eat it. The ability is somewhat unique in this respect, because it needs to fulfill two conditions:
- Champion target has three stacks of passive
- Champion target is not immune to crowd control
From my perspective, attempting to Devour a CC-immune target should have the same outcome as attempting to Devour a target with two or fewer passive stacks on it; both usage cases should be considered invalid. Assuming this isn't the intent, Devour should go on cooldown when it's attempted on a CC-immune target.
Either way, the ability is bugged when interacting with Ragnarok. It should either play the animation, play the sound, **and **go on cooldown or it should do none of those things; it shouldn't play the animation and sound but not go on cooldown.
I'm curious as to how Devour interacts with Morgana's Black Shield, because it should have exactly the same outcome.