Set it up with Time Stop
Wish is Gouda Nuff for me
Foreward
This response is presented despite the fact that I never, in all the years I played AD&D 1e and OD&D, played in a party with a Magic User hgher than 14th level except for once; that was with a 22d lvl Wizard who started in a campaign in 1974 which I joined some years later (1977-78). (K.C., are you still out there?). Mordenkainen, Gary Gygax' infamous wizard, got to 22d level IIRC. To me that's a very high level Wizard. The 1e PHB has a table with details up to 29th level, so higher level wizards (the name level) can happen.
The Swiss Cheese
(Source is 1e PHB; Unearthed Arcana not included). This "one-shot Demogorgon with a fireball" could work for a 22d - 25th level Wizard, depending on a few of the DM's calls on how spells and wishes work, and the details of how to implement time stop2.
Caveat: how many segments it takes to cast/say a wish is "special" so this is wide open to a DM ruling, as is anything to do with a wish.
Casting time is the actual number of seconds- at six per segment - to
phrase the limited wish. (PHB p. 88)
If the DM establishes a far longer casting time for wish then this probably doesn't work. The level requirement may be as high as 30th level Wizard depending on what the DM will let you pack into one wish spell.
The Limburger Cheese
If the Wizard has in his possession an artifact with a major power from Table V, specifically item CC -- time stop of twice normal duration, once per week (p. 165 DMG) -- some of the problems described below can be overcome since the time stop duration will extend beyond 30 segments, which is in excess of 3 rounds, which makes the spell casting sequence less of a problem. Fighting Demogorgon would qualify as a time to use this "special occasions only" power.
Recipe For Roasted Demon Prince
Be within 30' of Demogorgon and then:
- Time Stop (9 segments to cast) (Hopefully the other party members engage from range to try and get his attention, rather than running for their lives and the safety of their souls. If they are trapped in the time stop sphere they get cooked)
- Limited Wish (or Wish) (1 to 2 segments to cast, see contents below)
- Fireball (3 segments to cast) (Aim for 10-15' behind Demogorgon, MU must be ~29' away from the demon prince)
- Fireball (3 segments to cast) (Aim for 10-15' behind Demogorgon, MU be ~29' away from the demon prince) This is the fireball everyone else sees, since the other one is cast within the duration of Time Stop.
Note: you'd only need to cast one fireball if you used a "Double Fireball" as described in @JohnDallman's answer).
Sequence of casting:
Time Stop: Duration is based on level (11-12.5) segments + 8 (assume max roll) = 19-20.5 segments
Limited Wish or Wish ("I wish that Demogorgon fails in all resistances and saves versus my next two fireballs and they do maximum possible damage"1)
Note 1: it may take a second wish or limited wish to get the max damage wish folded in there, thus requiring a 30th level Wizard for a long enough time stop).
- Fireball 25d6 maxed is 150 (3 segments) (132 for 22d level) (180 for 30th level Wizard)
- Fireball 25d6 maxed is 150 (3 segments) (132 for 22d level) (180 for 30th level Wizard)
How time stop makes this work. With 20.5 segments worth of time stop, you get two rounds, which allows for a wish and the first fireball to be within the time stop. When time stop expires, all anyone else sees is the second fireball. With 19 segments, you'd have to cram all of the preconditions into one wish. (Is the 1e DM really going to put up with that?) With that in mind, you'd need to have 23 segments of time stop to get wish (failed saves/res) then wish (max damage on next two fireballs) then first fireball inside the time stop. That puts the Wizard level requirement at 30 (15 + 8 segments = 23 segments needed for three spells). The first fireball goes off during time stop as it only takes the first three segments. If you used that double fireball from @JohnDallman's answer, you'd be able to get in two wishes (resistance and save fail, max damage) and then coup d' grace with that double fireball.
All of the above considered, all resistances and saves being failed, 300 damage (or 264 or 360) taken versus 200 life. (Per the question's and p.16 of the MM Demogorgon's HP). That's enough to cover Demogorgon having a few extra hit points, and provides a few segments left over to light the cigar. :) A double fireball, per above, does that much with only one casting.
It could work. It also might not work if the DM finds some holes in your wishes, or time stop ends early.
A possible result is that some other party members get hit with fireball(s) (Sorry, my brave companion. Luckily, at this level we have a cleric who can raise you). Demogorgon will be done, to about medium well.
Any debuffs or holds or psionic combat by another party member versus Demogorgon, to keep his attention off of the Magic User in question ... "so much the better."
1 It might take a combination of three wishes/limited wishes, but there are plenty of 7th level spells available at that level. That creates problems with segments and rounds, and what the DM is willing to put up with. @JohnDallman gets a nod for pointing out the round/segment issue.
Rules page citations from 1e PHB:
Magic user spells per level page 26
22d MU 3d level 5; 7th level 4; 9th level 3
25th MU 3d level 5; 7th level 5; 9th level 5
Fireball: p. 73
Limited Wish: p. 88
Time Stop: p. 93
Wish: p. 94
2 About time stop:
Do "rounds" still apply during time stop inside the sphere? I've seen it argued both ways back in the day, based on the spell description.
Upon casting a time stop spell, the magic-user causes the flow of
time to stop in the area of effect, and outside this area the sphere
simply seems to shimmer for on instant. During the period of spell
duration, the magic-user can move and act freely within the area where
time is stopped, but all other creatures there are frozen in their
actions, for they are literally between ticks of the time clock, and
the spell duration is subjective to the caster. No creature can enter
the area of effect without being stopped in time also, and if the
magic-user leaves it, he or she immediately negates the spell. When
spell duration ceases, the magic user will again be operating in
normal time.
The case I saw made was that inside that sphere, since time stops, rounds and time elapsed have no meaning. The freedom of action that the Magic User has is only confined by how many segments of action is available to him (which is based on his level). That interpretation allows the magic user to chain a series of spells together until he/she runs out of segments of casting time. All then resumes.
The more conventional interpretation of time stop is that the DM still has to keep the round/segment clock ticking for any and everything outside of that, so that you still only get to cast one spell per round (per ten segments).