Welcome to the forum!!
Sorry for your troubles. Do you mean inverter or CONVERTER?
Converter is common, and supplies 12V to trailer and charges battery(s) when plugged into shore power.
Inverter uses the battery(s) to produce 110VAC for things like refers and TV's.
From your description I would say it's the converter that took the hit. Good time to toss it and upgrade IMO AFTER you install a surge protector.
2012 Copper Canyon 273FWRET being towed by a 1994 Ford F350 CC,LB,Dually diesel.
Airlift 5000 bags, Prodigy brake control, 5 gauges on the pillar.Used to tow a '97 Jayco 323RKS.
Now an RVIA registered tech. Retired from Law enforcement in 2008 after 25+ yrs.