Fix magic rope.lua

Shouldn't cast the spell when it fails.