https://compendium.pokegym.net/ruling/2352/
Q: If I use Slowking’s “Seek Inspiration” attack and discard a Metagross with the “Metallic Hammer” attack, can Slowking do the extra +150 damage if it has no {M} Energy to discard?
A: Yes it can, but if Slowking does have any Metal Energy or Rainbow-like Energy attached it would have to discard as much as it can (up to 3) if you choose to do the extra damage. Otherwise if you choose to not do the extra damage Slowking would get to keep its attached {M} Energy.
This also affects other Pokémon with “You may discard… and have/to have this attack do X more damage“ attacks:
- Mega Greninja ex CRI
- Mega Manectric ex MEG
- Zarude SSP
- Ampharos ex SVP
If an attack says “… If you do, this attack does X more damage“, then you need to have discarded at least 1 Energy to get the extra damage. However, if it says “… and have/to have this attack do X more damage“, then you don’t need to have discarded anything to get the extra damage.
For testing, Mime Jr. can copy these attacks for 0 Energy.