he told her how he could cast curses , could perform spells for good luck , bad luck and love , he even knew the formula for a potion that would convert a person into a will-less slave known as a zombie .