2019-03-11

Magic Distribution in OD&D Dungeons

An observation: Boy, magic is really rare if using the dungeon treasure table in OD&D Vol-3 ("The Underworld & Wilderness Adventures", i.e., the DM's book). Prior to this table you get the dictate, "It is a good idea to thoughtfully place several of the most important treasures... Naturally, the more important treasures will consist of various magical items and large amounts of wealth in the form of gems and jewelry." Then for the rest of the dungeon, rules that 2 in 6 of rooms have monsters; with treasure present 3-in-6 with monsters and 1-in-6 without. Then this table is given for such treasure:


Now, I've sort of made my peace with this table for gems & jewelry; while rare (esp. at the lower-numbered levels), when present they come in batches and generally large values, so they sort of give some reasonably high value. (A bit like hockey or soccer: scoring is rare but each goal makes a big difference!) However, magic is very rare throughout dungeon levels 1-3, apparently only shows up one item at a time, and has the added limitation that when you turn to the magic tables, 25% of the time it turns into a treasure map, and not actually any magic.

Let's compute. Say on a standard piece of graph paper you get around 40 rooms per levels (that's what I tend to get), and randomly stock the whole dungeon with this method. Then on the first 3 levels combined you'd expect (adding terms for both with-and-without monster cases): 3 levels × 40 rooms × (2/6 with monsters × 3/6 treasure + 4/6 without monsters × 1/6 treasure) × 5% = 120 × (1/6 + 1/9) × 5% = 120 × 0.277 × 0.05 = 1.66 positive results for magic items. Adjusting for the chance of maps, we get 1.66 × 0.75 = 1.25 actual magic items. So on average we may likely get just one single potion on all of levels 1-3 of the dungeon, and no other magic whatsoever. That could make it a bit hard to fight 4th-level monsters like lycanthropes, gargoyles, or wraiths, that start showing up on the [checks notes]... um, 1st level of the dungeon.

Anyway, here's a complete table of expected number of magic items (discounted for chance of maps) per dungeon level under these assumptions:


As we've seen, on levels 1-3 we only expect about 1/3 of a magic item per level, so rounding to the nearest integer, this appears as zero (0) in the table above. At other levels you may get 1, 2, or 3 magic items on average from the Vol-3 random method. If you make a dungeon of 12 levels (~500 rooms?), then we'd expect a grand total of around 14 magic items in the whole complex.

So I think that most of us would agree that simply can't stand; we have to do something else to supply fighters with magic arms and armor, wizards with wands and spell-scrolls, non-renewable potions of healing et. al., and other stuff. The most obvious way is by DM fiat, thinking of the "thoughtfully place" dictum. But then we are left with no other guidelines for what kind of distribution is recommended in that advance process.

Perhaps one faint idea is to shift magic-positive results from one single item to 1d6 at a time (roughly tripling the numbers estimated above, on average). Any other ideas?


Edit: Some folks in the comments take the interpretation that maps should not be generated from that dungeon-treasure table, actual magic only (maps for wilderness treasure only). There's definitely an intriguing case to be made there, but I'm not sure it's ironclad.

On the other hand, if we do permit maps in dungeon hoards, then perhaps we should account for the magic items to which they can lead you. Random maps have a 30% chance of leading to a "Magic Map" table, and 10% to a "Magic & Treasure Table". Those are both d8-based, and coincidentally, they each have an expected production of 19/8 = 2.375 magic items (individual results go as high as 5 items!). So together any random map expects to lead to 0.40 × 2.375 = 0.95 magic item. We might as well round that to "1", which tells us that we can effectively just ignore the map discount itself (each map leads to an average of one magic anyway). Either way, we're then back to an expectation of 1.66 items in the first three levels of the dungeon (not a big difference).

Or taking Daniel Wakefield's idea, maybe that gives us a clue for what a thoughtfully-placed "big magic cache" might be: 1-5 magic items or something like that. Other ideas are to scale it to the expected number of items PCs might have per level (almost embarrassed I didn't think of that earlier).

Consider: These days I roughly assume that pre-generated PCs might have a 1-in-6 chance for magic per level in each of 3 categories. (So: a 6th-level fighter with +1 sword, shield, and armor seems reasonable.) That implies about 3/6 = 1/2 item per level. If one PC level correlates with one dungeon level, and we have 4 PCs, then it suggests we want 4 × 1/2 = 2 items per level (permanent items?). Compare that if we say that random magic finds include 1d6 items (similar to the 1-5 range in the maps), take the expected magic finds for a single level (1.66 / 3 = 0.553), and multiply them together to get 3.5 × 0.553 = 1.94 ~ 2 items per level. So those figures seem synchronous.

On the other hand, if you have big 8-person parties then you might consider the need to double that again? Geoffrey McKinney's stats for B2 indicate the per-area magic rate at about 80% × 50% × 46% = 0.184. So one of my 40-room levels would expect 40 × 0.184 = 7.36 items, or almost quadruple the figure in the prior paragraph. Hmmmm. At least that gives us a starting upper/lower bound for what we might choose.


2019-03-04

More Missile Modeling

I've written so many letters on the physics and statistics of missiles, archery, and ballistics that it could sink a warship (search the blog, you'll see). So much so, sometimes it's easy to lose the plot at this time. I figured I'd summarize some of our findings to date.

We have two primary sources of data. One is from Longman and Walrond, Archery (1894) -- as reported by Barrow in Dragon #58, "Aiming for realism in archery" (Feb. 1982). He writes (first noted on the blog here):

English archers use a 48-inch-diameter target in tournament competition... A compilation of the twelve highest tournament results during a one-year period shows that the “hit” percentages of England’s finest archers at three ranges were: 92% hits at 60 yards, 81% at 80 yards, and 54% hits at 100 yards distance.  

A second source of data is from more recent UK "clout" long-distance longbow competitions. Results from a competition in 2016 show that at a range of 180 yards, competitors hit a 12-foot radius target 42% of the time, and an 18-inch radius central target only 1% of the time. (Full data and spreadsheets on the blog here.)

Using that as a guideline, we've developed a simple physical simulation to model archery shots, using an idea I first saw in Conway-Jones, "Analysis of Small-Bore Shooting Scores", Journal of the Royal Statistical Society (1972). The idea is fairly simple: model shooting error in both the x- and y-axes directions as two independent normal curves, which we call the "bivariate normal distribution". (First noted on the blog here.)

The simulation of that is written as a Java program and posted to a public code repository at GitHub (here). If we run that program with settings of precision = 6.7 (extremely high skill!), target radius = 2 feet, and long output form (that is: parameters 6.7 2 -L), then we get to-hit results very close to the 1894 Archery figures (compare highlights to quote above):


Likewise, if we run the program with precision = 1.6, target radius = 12 feet (parameters 1.6 12 -L), then we get results very close to the recent UK clout tournaments:


Also, if we set the target radius of this latter experiment to 1.5 feet (that is, 18 inches), then the hit rate at 180 yards becomes 1%, exactly as seen in the real-world data. Comparing these two data sources, we might be led to think that English archery skill has dropped off precipitously between 1894 and 2016 (precision 6.7 in the former and 1.6 in the latter). But based on the short quote regarding the first data source, we might say that it was cherry-picking its data; the best dozen results across all tournaments in England in a year. Contrast that with the second data source which includes all 30 competitors in one single tournament, whether they performed well or not. So the jury is still out on that issue.

That ends the recap. Now for a new thought: What is the best statistical model for these numbers? Clearly it's capped above and below: the chance to hit (or miss) cannot possibly be more than 100%, or less than 0%. Presumably we want a smooth, continuous curve, and one that can theoretically handle any arbitrary distance. Effectively we have just given the definition for a sigmoid curve, that is, an S-shaped curve seen in many probability cumulative distribution functions. The simplest model for this is the logistic function, as applied in logistic regression analysis.

One problem with this observation is that logistic regression of this sort is not built into standard spreadsheet programs (Libre Office, Excel) like many other types are (linear, polynomial, exponential, etc.) So what I've done below is this: Used the model derived from 2016 clout shooters (second experiment above; precision = 1.6, set target radius = 2 feet); increased granularity of the output to increments of 2 yards (for added detail); converted hit chances to miss chances (because the logistic curve expects numbers to be increasing from left-to-right), and used the online Desmos graphing calculator site (here; thanks immensely, guys!) to regress it to a logistic function. We get the best possible fit as follows:


Note that our regression (orange curve) has an R² = 95.87% match with the numbers from our simulated physical model of UK long-distance clout shooters (black dots). One possible downside: the logistic formula shown in the bottom-left is probably too complicated to use in a standard D&D gaming session. However, a second observation occurs to us: in the central part of that curve, at distances from around 20 to 40 yards (that is, ignoring the parts that are close to 0% or 100%; i.e., the part with maximal rate-of-change), the curve is practically a straight line.

Let's find an approximating line for that "critical" part of the curve. Our regression formula generates the points (20, 0.28) and (40, 0.73) -- so, this is the region where hit-or-miss chances vary from about 25% to about 75%. Solving for an equation of a line through those points (using Wolfram Alpha or good ol' college algebra) gives: y = 0.0225x − 0.17. Note the slope m = 0.0225, which means the chance to hit drops by 2.25% per yard on that region. Converting to feet we get 0.0225/3 = 0.0075, so: 0.75% per foot, or 7.5% per 10 feet. Note that this is freakishly close to the 7.6% per 10 feet figure we saw in the Milks spear-throwing experiment a few weeks ago.

In conclusion: It seems like our data and multiple models are telling us that there's a consistent dropoff in hit rates of around 7.5% per 10 feet, in the part of the range where it matters (neither a near-automatic hit or miss). This is why in the last few months in my D&D game I've shaved this number off to 5% and simply said there's a −1 chance to hit per 10 feet, on a d20 attack roll. But how to account for the extended upper and lower parts of the sigmoid S-curve distribution (where the chances are almost, but not quite, 0% or 100%)? Well, the classic rule to auto-miss on natural "1" and auto-hit on "20" (or something close to that: say they count as −10 or +30) does a fair job of recreating the rest of that model.

(P.S. Keep in mind that the exact hit-or-miss numbers shown above assume a single unmoving, undefended, man-size target of radius 2 feet or so. In practice, we need all kinds of extra modifiers to account for aware, defensive men in the field; shooting at a clustered army of bodies; and so forth. But from what we can tell the specific range modifiers increments would be generally consistent regardless of other considerations.)

2019-02-28

TotalCon 2019 Shots

Last weekend I attended TotalCon in Marlborough, MA for the first time and it was pretty nifty! Didn't run anything (this time), but played in lots of different games. I'd broadly guess that this will become a regular thing. Thanks greatly to Paul S. for convincing me to make the trip. Here's a few snapshots of the events -- and check out the Wandering DMs YouTube Channel for live video recaps we did of these and other events at the convention all weekend.

Welcome!

Gracious gentleman after a decisive victory at the OGRE table

And now we're fighting the Ogre in the Caves of Chaos with my (gasp: actual roll at table) 18 Strength fighter!

Mike Curtis' setup for an experimental DCC pulp-Mars game with a nifty screen made from an album cover he picked up cheap on EBay.

20-person Marvel & Transformers game vs...

... combined Galactus & Unicron! Jumping Jehoshaphat!

2019 Car Wars Northeast Regional Championship

Boss Fight for Breakfast, in which I played Flame, an ancient, huge, spell-using, evil-genius red dragon (see Dungeon Magazine #1, "Into the Fire") vs. 9 high-level PCs. I managed to hit them with multiple illusions, hidden spiked pits and portcullis, paralysis magic, 176 hit points of fire damage, etc. Missed it by thaaat much.

2019-02-25

Cleric Spells Refined

Another follow-up to the Wandering DMs Clerics discussion -- and another kind sharing of spell spreadsheet analysis from a commenter here.

Of course, I'm semi-infamous for not using clerics in my D&D games, and neither does co-Wandering DM Paul; they don't appear in our OED house rules, and the concise OED Book of Spells and Deck of Spells cover only wizard magic. But maybe you've heard: some other people actually do allow Clerical PCs! I'll let you clean up your spit-taked coffee now.

In a spirit of generosity, commenter William Heilman (often commonly posts as baquies) put together a concise listing of OD&D clerical spells, broadly following the stripped-down style of the OED Book of Spells, and put it in a convenient format. With his permission I've shared it on our site here. Blessings upon you all.

2019-02-21

Wandering DMs at TotalCon

This weekend (Thursday Feb-21 to Sunday Feb-24), the Wandering DMs -- that is, my friend good Paul and myself -- will be attending the TotalCon event in Marlborough, Massachusetts. This is Paul's "home" convention, whereas I've never been to it myself. Looking forward to it, should be a good time.

Along the way, Paul and I are planning to livestream some "confessionals" in-between events to catch our impressions, takeaways, and lessons while they're still fresh. We'll be trying to make broadcast around our regularly-scheduled 1 PM Sunday time as a wrap-up for the whole convention. So remember to check in a few times this weekend and see what we're up to -- and if you're at TotalCon, please drop by and say hi! You might wind up as one of the first guests on Wandering DMs. (Do we do that? I don't know, we may surprise you.)

While waiting for that, look for the "Dan in Peru" video from last weekend: "How to get a D&D Castle for Half Price". See you soon!

2019-02-18

Ozymandias' AD&D Spell Compendium

About 2 years ago [link] I presented an index to the AD&D Wizard Spell Compendium. That's in regards to the four-volume set published by TSR 1996-1998, compiled by Mark Middleton, that reputedly collects all the spells ever published for AD&D throughout the 1E and 2E periods. My work built on that of James Rizza, who seems to be the first to present a database listing of the spells. What I did was to de-duplicate all the spells into normal database form (James made a copy for each possible school of wizardry, etc.), clean up descriptions and typos, add rarities specified for generalist wizards, etc. -- which allowed us to look at some descriptive statistics for the overall work.

Now Ozymandias of the Crossing the 'Verse blog has kindly shared with us a version that builds on our last version; he's been diligently working these intervening years to make it. Where mine had 15 columns of information, his now has: 139 columns. He's added multiple specific fields for different details of each spell's damage specifications, area of effect, what appears to be a tag for all of the different 28 schools of effect and 21 special origins given in the book, and multiple sheets worth of analysis, tables, and charts. Wow! You can get it at his public Google drive here, and read his analysis on his blog here. (Also other good stuff there, like a recent reflection on redesigning the polymorph spell.)

A few broad comments:
  • Ozymandias has down some mild massaging of certain descriptions (areas, etc.) for his house-ruled campaign. I understand why he would do that.
  • He notes being a bit frustrated that this work, in a sufficiently precise form, hasn't been available before. I share that, too. (Anecdote: Circa 2000 I was working at a company pitching a prototype for online Magic: The Gathering. We were struggling to make all the long spell names fit legibly on the digital cards. Ultimately we found that the winning company had entirely punted on the issue, and just let names run right off the edge of the cards, which we would never have considered acceptable. Oh, well.) 
  • He points out that, while providing a large part of his initial motivation, a relatively small proportion of spells in the system actually deal direct points of damage (15%). I've made the point before that in Original D&D, damage-dealing spells are a distinct rarity: there are only 4 such spells in the whole work!
  • Likewise, he also notes being a bit weirded out by what a tiny number of spells use the "reversible" mechanic (4%), and in the opposite direction, how almost no spells fail to have a verbal component (3%), etc., and so wonders if those are really useful mechanics to maintain in the game. This is definitely one of the wonderfully freeing things I find about OD&D, in that in the initial core conception, none of these were part of the system, and we can ignore them. (OD&D actually had all of two spells noted in the text with some reversible capacity -- oddly transmute rock to mud and stone to flesh -- and I simply ignore those reversed options in my game for simplicity.)
  • Also interesting: The most commonly used spell damage die is the d4! I guess I've been playing my OD&D game with everything as d6's so long I've forgotten about that. But: Ugh, d4, awkward. 
 Thanks to Ozymandias for the excellent work and analysis, and sharing this all with us!

2019-02-11

Book of War: Battle of Emridy Meadows

Fellow grognard gizmomathboy dropped me a line a few weeks ago to share his play session with our Book of War mass-combat ruleset -- and it's a doozy! The climax of his campaign set in Greyhawk, the big beat-down with the Temple of Elemental, the legendary Battle of Emridy Meadows. With Thrommel IV of Furyondy and Jolene of Veluna on one side, versus a giant mob of horrible monsters and evil high priests on the other. Here's a few photos from his custom battlemap and game pieces:




Want more? Check this stuff out:
Thanks immensely to gizmomathboy for sharing that -- a tremendous game set up!