This code works for the spell rupture

It will be ported to other spells later