I’m not a mechanic, and I’m only guessing,… but when I was in high school I took my camaro puddle jumping and somehow managed to get water under the distributor cap. I had to take the cap off and dry it out. Until it was dry it just wouldn’t go. I would check the ignition coil and see if it’s wet. And maybe pull the wires off of the plugs and see if they are wet. If they are it might be grounding where they clip on.
As far as the charging issue, not too sure.