The first-level evocation spell Chaos Bolt states:
"Make a ranged spell attack against the target. On a hit, the target takes 2d8 + 1d6 damage. If you roll the same number on both d8s, the chaotic energy leaps from the target to a different creature of your choice within 30 feet of it. Make a new attack roll against the new target, and make a new damage roll, which could cause the chaotic energy to leap again. A creature can be targeted only once by each casting of this spell."
I'm wondering how this would interact with an effect that allowed to take the maximum damage with a spell instead of rolling (such as the wild magic surge on a 33 or 34). The result is the same as if you had rolled an 8 on both d8s, which would cause the spell to bounce to a new creature. If you hit, the new damage roll would also be maximized, which would make the spell bounce again. As long as you kept hitting, the spell would continue to bounce until it runs out of targets.
"Make a ranged spell attack against the target. On a hit, the target takes 2d8 + 1d6 damage. If you roll the same number on both d8s, the chaotic energy leaps from the target to a different creature of your choice within 30 feet of it. Make a new attack roll against the new target, and make a new damage roll, which could cause the chaotic energy to leap again. A creature can be targeted only once by each casting of this spell."
I'm wondering how this would interact with an effect that allowed to take the maximum damage with a spell instead of rolling (such as the wild magic surge on a 33 or 34). The result is the same as if you had rolled an 8 on both d8s, which would cause the spell to bounce to a new creature. If you hit, the new damage roll would also be maximized, which would make the spell bounce again. As long as you kept hitting, the spell would continue to bounce until it runs out of targets.