That saw was made between 1984 and 1990. First year or so it had points and condenser under the flywheel, then an engineering change put an electronic trigger module under the flywheel along with a part number change to the flywheel, then later yet another part number change to the flywheel with a self contained CDI module with nothing under the flywheel. I show the 0000 400 1306 CDI still available from STIHL at around $70. Heat soak failure can happen with older modules where they run ok as long as the flywheel is blowing air but heat soak when the engine stops, lose spark, then "heal" after cooling down. Only way to prove that is with an inline spark tester that you can observe if spark goes away after sitting for a few minutes. Stay away from aftermarket modules unless you are lucky at gambling. And while I enjoy some of my older saws from time to time the new ones are far superior and I personally wouldn't put that much money in a saw that old. I have one of that model in my collection along with all the other model variations in that series, and it is a proud shelf sitter, not a saw I would ever want to cut with. But I wish you luck whichever way it goes.