The USAF has been working on an airborne laser for years.
First attempts failed because the thing was too heavy to get off the ground (doh).
Second attempt failed because the electronics could not reliably track and engage the target.
They're now into generation 3, which seems to be working.
It is based on a 747-400 jetliner, the only aircraft currently in production in the USA that is large enough and powerfull enough to lift the equipment.
IF they have succeeded in getting the same power weapon into a C-130 that will have been an enormous achievement in only a few years where there have been decades before where it didn't work. I don't say it can't be done, but I have my doubts.
I wish I were flying