This code works for the spell rupture

It will be ported to other spells later
It works for one spell for now