So just order a cdi then?, update ...i took mag off cleaned it ..it was a lil wet on the one side..
99% chance it's the magneto.
Test with an ohm meter and you will know for sure.
Does your mag have a white wire and thin copper strand coming out the top
of the winding that is soldered onto the body?
Blue to white = around 350 ohms
Blue to black (ground ) = around 350 ohms
If open reading they are bad.
Try blue to where the thin copper strand comes out because that strand of wire commonly breaks and is where the black ground comes from.
It's possible to resolder that strand.
Another fix is to take the white wire and ground it under the screw where
the black wire was and your mag will work.
If blue to white is dead so are you.
If you have the new style wired mags it's slightly different.