The description of the produce flame cantrip reads:
A flickering flame appears in your hand. The flame remains there for the duration and harms neither you nor your equipment. The flame sheds bright light in a 10-foot radius and dim light for an additional 10 feet. The spell ends if you dismiss it as an action or if you cast it again.
You can also attack with the flame, although doing so ends the spell. When you cast this spell, or as an action on a later turn, you can hurl the flame at a creature within 30 feet of you. Make a ranged spell attack. On a hit, the target takes 1d8 fire damage.
If I have one hand occupied with a shield and another hand occupied with an arcane focus, can I cast produce flame into one of my occupied hands?
If I have the War Caster feat, can I then use the flame as an opportunity attack while my hands are occupied?
I'm getting ready for a one-shot battle-royale and want to be able to have a free damage cantrip.
This question is different from the question Can you cast and hold Produce Flame and then wield a weapon and shield?. The previous question is about casting produce flame with an open hand and then equipping an item. I am specifically talking about having both hands equipped with items and then choosing to cast produce flame.