You choose the target creature as you cast Harnessed Lightning. You don't choose how much
to pay until Harnessed Lightning is resolving. No player may take actions between the time you choose how much
to pay and the time the creature takes damage equal to the
paid this way.

Artwork
Loading artwork…
Harnessed Lightning
Kaladesh · #117 · EN
Nonfoil—Foil—
Card rules
Choose target creature. You get 

(three energy counters), then you may pay any amount of
. Harnessed Lightning deals that much damage to that creature.
Uncommon · Illustrated by Chris Rallis
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the target creature becomes an illegal target, Harnessed Lightning doesn't resolve and none of its effects happen. You won't get 

or be able to pay any
.
Some spells and abilities that give you
may require targets. If each target chosen is an illegal target as that spell or ability tries to resolve, it won't resolve. You won't get any
.
If an effect says you get one or more
, you get that many energy counters. To pay one or more
, you lose that many energy counters. You can't pay more energy counters than you have. Any effects that interact with counters a player gets, has, or loses can interact with energy counters.
Some triggered abilities state that you "may pay" a certain amount of
. You can't pay that amount multiple times to multiply the effect. You simply choose whether or not to pay that amount of
as the ability resolves.
Energy counters are a kind of counter that a player may have. They're not associated with any specific permanents.
Some triggered abilities that state that you "may pay" a certain amount of
describe an effect that happens "If you do." In that case, no player may take actions to try to stop the ability's effect after you make your choice. If the payment is followed by the phrase "When you do," then you'll choose any targets for that reflexive triggered ability and put it on the stack before players can take actions.
Keep track of how many energy counters each player has. Potential ways to track this include writing theme down on paper or using dice, but any method that is clear and mutually agreeable is fine. (At higher levels of tournament play, dice may not be allowed for tracking counters that players have.)
Energy counters aren't mana. They don't go away as steps, phases, and turns end, and effects that add mana "of any type" can't give you energy counters.
If a spell or ability with one or more targets states that you "may pay" some amount of
, and each permanent that it targets has become an illegal target, the spell or ability won't resolve. You can't pay any
even if you want to.