Yep, bad magneto unit or wrong wiring or grounding. It should be a routine fix now that you have established that.