Scripts/HoR: fixed infinite spawn, added some missing spell target conditions and fixed codestyle

Closes #10754