[RPG] If an Artillerist artificer casts a spell through their arcane firearm, how is the damage bonus applied to multiple-target spells

artificerclass-featurednd-5espellstargeting

The Artillerist artificer has the Arcane Firearm feature, which says in part (ERLW, pg. 60):

When you cast an artificer spell through the firearm, roll a d8, and you gain a bonus to one of the spell's damage rolls equal to the number rolled.

I'm trying to understand how this interacts with spells that (can) have multiple targets:

  • How does this affect spells with multiple rays? Do you just add
    a d8 to a single ray?
    For instance, scorching ray has the caster make a ranged spell
    attack for each ray, normally doing 2d6 fire damage on a hit. So
    would one ray of the player's choice do 2d6+1d8 damage, and the rest
    do 2d6?
  • And what about spells with an area of effect? Does it add a d8
    to every creature's damage taken (before any halving from
    successful saves, etc.)?
    For instance, fireball deals 8d6 fire damage on a failed save
    (halved on a success). So would all creatures in the area take
    8d6+1d8 fire damage (or half of that if they pass the Dex save)?

Best Answer

Gain a bonus to one of the spell’s damage rolls.

The Arcane Firearm feature says:

When you cast an artificer spell through the firearm, roll a d8, and you gain a bonus to one of the spell's damage rolls equal to the number rolled.

Whether a spell requires you to roll damage once or multiple times, choose one of those times. Add the result from the d8 to that damage roll.

Scorching ray involves multiple separate damage rolls, once for each hit, so you would add the d8 only to one of those damage rolls (see this Q&A for more details on this point: How many times do you roll damage for Scorching Ray?).

You roll once for area-of-effect damage (and magic missile).

The rules for damage rolls say:

If a spell or other effect deals damage to more than one target at the same time, roll the damage once for all of them.

So you would add the result of Arcane Firearm's d8 roll to the damage dealt to all creatures within the area of effect of fireball as well as each dart from magic missile.