Depended skill/buff cancellation

Good day gents ,

I am wondering is there any posiblety to cancel a spesific buff or skill if someone is missing in our party ??

I can manage to stopped to lure via creating conditions but i couldn’t find a way to cancel a spesific skill or buff when the depending conditions become true.

Thanks in advance .

yes there is pain in the character does not life it closes the buff