Fix uninitialized flags for custom-made spells