Staff of pain necromantic + bug fixes

When will I learn not to upload code that doesn't compile?