About the D2R Item Generator

The D2R Item Generator builds single Diablo II: Resurrected items — rares, magic items (charms, circlets, rings, and amulets), and crafted items — across all 11 equipment slots: amulets, body armor, belts, boots, charms, circlets, gloves, helms, rings, shields, and weapons. Every roll mirrors the in-game generation pipeline: affix-count weighting, side splits, tier weights, base-specific affix pools, staffmods, and per-base auto-mods.

Rare items follow a 1:2:3:2 affix-count weighting (3, 4, 5, or 6 total affixes), with each affix split between prefix and suffix under a binomial distribution capped at 3 per side. A rare can roll all-prefix (3,0) or all-suffix (0,3) when the total is 3, but counts of 4 or higher must include at least one of each side. The generator's Roll Odds panel exposes the exact probability of any affix combination you build.

Crafted items follow a different recipe entirely: the cube formula stamps 1–4 fixed bonuses (mode-specific, like Blood, Caster, Hit Power, or Safety) plus 1–4 random affixes drawn from a smaller pool. Per-slot eligibility is read directly from cubemain.txt, so only legal combinations are offered — no fictional crafted base × mode pairings exist in the generator.

Unlike static affix lists on wiki pages, every value here is computed: the per-affix pool is filtered by ilvl, base type, and class (where staffmods apply), and the joint probability of your specific build is shown alongside individual affix odds. Picks that look impressive at a glance are often two orders of magnitude rarer than they appear, which is precisely the gap this tool was built to surface.

For the full model — the affix pipeline, side-split math, tier weights, staffmod and auto-mod tables, and crafted-recipe sources — see the how it works reference.

Frequently Asked Questions

How does rare item generation actually work in Diablo 2?
Each rare is rolled by drawing an affix count (3–6 under a 1:2:3:2 weighting), then a prefix/suffix split, then individual affixes from a pool filtered by base type and ilvl. Each affix has a tier weight inside the pool, so common low-tier mods appear far more often than rare high-tier ones. The generator implements every step of this pipeline directly.
Why is a 6-affix rare worth more than a 4-affix rare with the same mods?
Affix counts follow a 1:2:3:2 weighting: 3-affix and 6-affix rares each occur ~12.5% / 25% of the time, while 5-affix is the most common at 37.5%. A 6-affix rare is the rarest count and provides more total stat surface. The Roll Odds panel breaks down the contribution of affix-count rarity vs the rarity of the specific affixes you chose.
Can a 3-affix rare ring really roll all prefixes or all suffixes?
Yes — at total affix count 3, the binomial split allows (0,3) and (3,0) configurations because the per-side cap of 3 is exactly met. Counts of 4 and above force at least one prefix and one suffix. This is one of the more counterintuitive parts of the rare model and a common point of confusion in trading communities.
What's the difference between rare, magic, and crafted items?
Rares roll 3–6 random affixes from the full pool. Magic items roll exactly one prefix and one suffix and (in this tool) are surfaced for charms, circlets, rings, and amulets — the four slots where magic-quality is meaningful in practice. Crafted items follow cube recipes: the recipe stamps 1–4 mode-specific bonuses (Blood / Caster / Hit Power / Safety) and adds 1–4 random affixes from a reduced pool. Crafted-item availability per slot is filtered by the actual cubemain.txt recipes.
Are these the actual D2R odds or approximations?
Actual odds. The affix pool, tier weights, base-specific filters, and cube recipes are read from D2's data files (magicprefix.txt, magicsuffix.txt, automagic.txt, cubemain.txt). The roll-odds engine is independently verified against simulation runs and the original ring simulator that informs this tool. Sources are listed in the How It Works reference.
What are auto-mods and staffmods?
Auto-mods are guaranteed mods stamped onto specific subtypes — for example, Necromancer shrunken heads always carry +Necromancer skill bonuses. Staffmods are class-skill bonuses that appear on certain weapon and armor bases (orbs, wands, druid pelts, paladin shields, etc.). Both bypass the normal affix pool and are layered on top of the random rolls.
Why don't all crafted items have the same affixes?
Crafting recipes are slot-specific. A Blood Ring has different bonuses than a Blood Helm, because cubemain.txt defines a separate recipe for each slot/mode combination. Some slot/mode pairs don't exist at all (no Blood Charm, for example). The generator only offers legal recipes, so you won't see fictional combinations.
How do you calculate the joint odds of a specific affix combination?
The joint probability multiplies the affix-count weight, the side-split probability, and each individual affix's pool weight (filtered by base/ilvl). The Roll Odds panel shows the joint probability for the full build and isolates each affix's marginal contribution, so you can see which mods are dragging the odds the most.