
3d6 與 4d6 捨棄最低骰:D&D 能力值概率、調整值與總和分布
3d6 是三粒六面骰仔的點數總和;4d6 捨棄最低骰(drop lowest)則是擲四粒,只保留最高三粒的總和。後者把平均值由 10.50 提高至約 12.24,但分布的變化並非單純向右移。本文假設骰仔公平且互相獨立,分開計算單項能力值和六項能力值的總和。比較的是分配能力值及加入背景等額外加成之前的數值,不包括重擲或設定最低總和等自訂規則。
日文原文發布: 2026-05-30
先分清歷史與規則版本
D&D 的能力值可透過擲骰或固定數值產生。第一版 AD&D 的 Dungeon Masters Guide 於 1979 年出版。本文將歷史背景與角色建立程序分開,以 2014 年版及 2024 年版規則作比較。
2014 年版 Basic Rules 提供擲 4d6、取最高三粒總和的方法,以及標準數列;購點法則是由地下城主(DM)決定是否採用的變體規則。2024 年版角色建立流程及 SRD 5.2.1 列出標準數列、隨機產生和購點三種方法,遊戲主持人(GM)可以指定其中一種。並非每個遊戲團都必須擲 4d6。
下文統計不計入 2014 年版的種族加成或 2024 年版的背景加成。3d6 在這裏是用作比較的概率模型;採用第五版(5e)的調整值公式,不代表所有舊版也使用同一公式。
完整枚舉:216 種與 1,296 種結果
把每粒骰仔分開識別,3d6 有 6³ = 216 種有序結果,4d6 有 6⁴ = 1,296 種。每種結果等可能,建基於每一面的概率均為 1/6,而且各粒骰仔互相獨立。即使有多粒同為最低點數,也只捨棄其中一粒。
function dist4d6drop() {
const counts = Array(19).fill(0);
for (let a = 1; a <= 6; a++)
for (let b = 1; b <= 6; b++)
for (let c = 1; c <= 6; c++)
for (let d = 1; d <= 6; d++) {
const dice = [a, b, c, d].sort((x, y) => x - y);
counts[dice[1] + dice[2] + dice[3]]++;
}
return counts;
}
const counts = dist4d6drop();
const mean = counts.reduce((sum, count, score) => sum + count * score, 0) / 1296;
console.log(mean); // 12.244598765432098這段程式碼使用的是完整枚舉。只對點數總和作一般卷積,並不能實現「捨棄最低一粒」的操作。先算出單項能力值的分布,再用卷積合併六次獨立產生的能力值,才會得到六項總和的分布。組合數是精確計數;文中的小數經過四捨五入,並非隨機抽樣的估計。
全部十六個能力值的結果計數
下表按產生的能力值,統計可分開識別的骰仔之有序結果數。將 3d6 的計數除以 216,或將 4d6 捨棄最低骰的計數除以 1,296,便得到各能力值的概率。
如表格未能完整顯示,可左右捲動。
| 能力值 | 3d6 | 4d6 捨棄最低骰 |
|---|---|---|
| 3 | 1 | 1 |
| 4 | 3 | 4 |
| 5 | 6 | 10 |
| 6 | 10 | 21 |
| 7 | 15 | 38 |
| 8 | 21 | 62 |
| 9 | 25 | 91 |
| 10 | 27 | 122 |
| 11 | 27 | 148 |
| 12 | 25 | 167 |
| 13 | 21 | 172 |
| 14 | 15 | 160 |
| 15 | 10 | 131 |
| 16 | 6 | 94 |
| 17 | 3 | 54 |
| 18 | 1 | 21 |
| 合計 | 216 | 1296 |
來源:本文以完整枚舉作出的原創計算。
單項分布:眾數是 13,平均約 12.24
如表格未能完整顯示,可左右捲動。
| 統計量 | 3d6 | 4d6 捨棄最低骰 |
|---|---|---|
| 平均值 | 10.500000 | 12.244599 |
| 標準差 | 2.958040 | 2.846844 |
| 眾數 | 10、11 | 13 |
| 得到 18 的概率 | 1/216 ≈ 0.463% | 21/1296 ≈ 1.620% |
| 得到 16 或以上的概率 | 10/216 ≈ 4.630% | 169/1296 ≈ 13.040% |
| 得到 9 或以下的概率 | 81/216 = 37.500% | 227/1296 ≈ 17.515% |
平均值增加約 1.744599。3d6 的分布對稱,但 4d6 捨棄最低骰是左偏分布,低分一側的尾部較長。標準差接近,並不表示兩者形狀相同。4d6 得到 13 的結果有 172 種,得到 14 的有 160 種,所以眾數只有 13。
要得到 18,至少要有三粒擲出 6。恰好三粒為 6 的有序結果有 20 種,四粒全為 6 另有 1 種,合共 21 種,概率正好是 3d6 的 3.5 倍。若在同一組三粒骰仔上加入第四粒,最高三粒的總和不會低於原本三粒的總和。這說明分布為何較有利於高分,卻不保證兩位玩家各自擲骰時,使用 4d6 的玩家必定勝過使用 3d6 的玩家。
六項能力值全部至少為 13 的概率
單項能力值至少為 13 的概率,3d6 是 56/216,4d6 捨棄最低骰是 632/1296。以相同方法獨立產生六項能力值,全部符合條件的概率就是單次概率的六次方。
如表格未能完整顯示,可左右捲動。
| 條件 | 3d6 | 4d6 捨棄最低骰 |
|---|---|---|
| 1 次結果至少為 13 | 25.925926% | 48.765432% |
| 6 次全部至少為 13 | 約 0.030367% | 約 1.344846% |
4d6 捨棄最低骰的概率約為 3d6 的 44.3 倍。3d6 約每 3,293 組有 1 組符合條件,4d6 捨棄最低骰則約每 74 組有 1 組;這不表示產生 74 組便一定會出現 1 組。若五位玩家各以 4d6 捨棄最低骰產生一組,至少一人符合條件的概率為 1 − (1 − 0.013448457…)⁵ ≈ 6.55%。不能因此保證玩幾個戰役就會遇到。若加入「不合條件便重擲」的規則,原來的概率模型便不再適用。
調整值的期望值不是角色戰力的總評分
5e 的能力調整值公式是 floor((能力值 − 10) / 2)。floor 向下取整,對負數也一樣:能力值 3、9、13、18 的調整值分別為 −4、−1、+1、+4。要計算期望值,應把每個調整值乘以其概率,再將結果相加,而不是把平均能力值直接代入公式。
如表格未能完整顯示,可左右捲動。
| 指標(額外加成前) | 3d6 | 4d6 捨棄最低骰 |
|---|---|---|
| 1 項能力調整值的期望值 | 0 | 約 +0.873457 |
| 6 項能力調整值總和的期望值 | 0 | 約 +5.240741 |
這些數字是大量組合的平均;實際一組能力調整值的總和必定是整數。角色不會在每次檢定都加上 +5.24。檢定用的是相關能力的調整值,實際效果還受職業、能力值分配、技能及熟練等因素影響。不能把這個總和當成熟練加值,也不能直接與另一位角色的整體貢獻比較。
標準數列與 27 點購點法
標準數列(standard array)是 15、14、13、12、10、8,總和為 72;未加入額外加成時,調整值總和是 +5。購點法的能力值範圍為 8 至 15,各值所需點數如下。
如表格未能完整顯示,可左右捲動。
| 能力值 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
|---|---|---|---|---|---|---|---|---|
| 所需點數 | 0 | 1 | 2 | 3 | 4 | 5 | 7 | 9 |
限定用盡全部 27 點,並區分力量、敏捷、體質、智力、感知、魅力各項能力的分配,共有 12,282 種配置。把不同數值調配到另一項能力,算作不同配置;相同數值互換則不重複計算。能力值總和由 69 至 75,調整值總和由 +3 至 +7。例如,15/15/15/8/8/8 的總和為 69、調整值總和為 +3;13/13/13/12/12/12 的總和為 75、調整值總和為 +6;14/12/12/12/12/12 的總和為 74、調整值總和為 +7。
購點是玩家作出的選擇,並沒有預設的隨機分布。若未定義玩家如何選擇的概率模型,便不能說「平均總和是 72~73」。標準數列的 +5 調整值總和在數值上接近 4d6 的期望值,但不足以證明設計者以此為目標。固定數值能避免擲骰造成的差異,相同總和卻仍不等於相同戰力。
總和處於甚麼位置?先說明累積百分比
以 S 代表六次獨立使用 4d6 捨棄最低骰所得的能力值總和,最小是 6 × 3 = 18,最大是 6 × 18 = 108。本文用累積概率 P(S ≤ x)表示「總和不高於 x 的比例」。在離散分布中,是否計入同分結果會改變百分比,因此必須先清楚定義。
如表格未能完整顯示,可左右捲動。
| 總和 x | 總和不高於 x 的比例 |
|---|---|
| 60 | 約 3.452% |
| 73 | 約 49.403% |
| 74 | 約 55.075% |
| 80 | 約 84.219% |
| 90 | 約 99.519% |
平均總和約為 73.468,中位數則為 74。本文採用的定義是:累積概率首次達到或超過 50% 的最小數值。總和超過 90 的概率約為 0.481%,與總和不高於 90 的比例不同。若規定總和為 60 或以下便要重擲,約 3.452% 的初次結果會受影響,但重擲後的分布已不同於上表。
計算總和分布時,要合併六份單項能力值的整數計數分布:先取一份,再與同樣的分布進行五次兩兩卷積,最後除以總結果數 1296⁶。這個總數超出 JavaScript 的安全整數範圍,所以精確計數需使用 BigInt 或等效方法,最後才轉換成小數概率。
NanToo 的日文骰仔概率計算工具可在其支援範圍內處理 NdS+M,例如 3d6 或 3d8+5,但不直接支援 4d6 捨棄最低骰。這項操作可用本文程式碼與計數資料核對。若想進一步了解隨機數產生器及其限制,可閱讀已發佈的 Mersenne Twister 原理解說。概率比較與選擇團員喜歡的遊戲方式,應分開考慮。
可直接執行的數據核對程式碼
以下 JavaScript 可獨立執行。請在新的執行環境一次過執行整段程式,不要接在上面的簡短範例後執行。使用 Node.js 時,可儲存為 .cjs 檔案,再以 node 加上檔名執行。程式不使用外部程式庫或隨機抽樣,會計算單項分布、六項總和分布,以及用盡 27 點的配置。
function dist3d6() {
const counts = Array(19).fill(0);
for (let a = 1; a <= 6; a++)
for (let b = 1; b <= 6; b++) for (let c = 1; c <= 6; c++) counts[a + b + c]++;
return counts;
}
function dist4d6drop() {
const counts = Array(19).fill(0);
for (let a = 1; a <= 6; a++)
for (let b = 1; b <= 6; b++)
for (let c = 1; c <= 6; c++)
for (let d = 1; d <= 6; d++) counts[a + b + c + d - Math.min(a, b, c, d)]++;
return counts;
}
function statistics(counts) {
const ways = counts.reduce((sum, n) => sum + n, 0);
const mean = counts.reduce((sum, n, x) => sum + n * x, 0) / ways;
const probability = (test) => counts.reduce((sum, n, x) => sum + (test(x) ? n : 0), 0) / ways;
const modifierMean = counts.reduce((sum, n, x) => sum + n * Math.floor((x - 10) / 2), 0) / ways;
return {
ways,
mean,
sd: Math.sqrt(counts.reduce((sum, n, x) => sum + n * (x - mean) ** 2, 0) / ways),
modes: counts.flatMap((n, x) => (n === Math.max(...counts) ? [x] : [])),
p18: probability((x) => x === 18),
p16Plus: probability((x) => x >= 16),
p9OrLess: probability((x) => x <= 9),
p13Plus: probability((x) => x >= 13),
pAllSix13Plus: probability((x) => x >= 13) ** 6,
modifierMean,
sixModifierMean: 6 * modifierMean,
sixScoreMean: 6 * mean,
};
}
function convolve(a, b) {
const result = Array(a.length + b.length - 1).fill(0n);
for (let i = 0; i < a.length; i++)
for (let j = 0; j < b.length; j++) result[i + j] += a[i] * b[j];
return result;
}
function lowerMedian(counts) {
const ways = counts.reduce((sum, n) => sum + n, 0n);
let cumulative = 0n;
for (let x = 0; x < counts.length; x++) {
cumulative += counts[x];
if (2n * cumulative >= ways) return x;
}
}
function pointBuy() {
const costs = [0, 1, 2, 3, 4, 5, 7, 9];
let allocations = 0;
let minScore = Infinity,
maxScore = -Infinity;
let minModifier = Infinity,
maxModifier = -Infinity;
function visit(slot, cost, score, modifier) {
if (slot === 6) {
if (cost !== 27) return;
allocations++;
minScore = Math.min(minScore, score);
maxScore = Math.max(maxScore, score);
minModifier = Math.min(minModifier, modifier);
maxModifier = Math.max(maxModifier, modifier);
return;
}
for (let x = 8; x <= 15; x++) {
const nextCost = cost + costs[x - 8];
if (nextCost <= 27) visit(slot + 1, nextCost, score + x, modifier + Math.floor((x - 10) / 2));
}
}
visit(0, 0, 0, 0);
return { allocations, minScore, maxScore, minModifier, maxModifier };
}
const counts3 = dist3d6();
const counts4 = dist4d6drop();
const stats3 = statistics(counts3);
const stats4 = statistics(counts4);
const single = counts4.map(BigInt);
let sixCounts = single;
for (let i = 1; i < 6; i++) sixCounts = convolve(sixCounts, single);
const totalWays = 1296n ** 6n;
if (sixCounts.reduce((sum, n) => sum + n, 0n) !== totalWays) throw new Error("count mismatch");
const cumulativeWays = (x) => sixCounts.slice(0, x + 1).reduce((sum, n) => sum + n, 0n);
const cumulative = [60, 73, 74, 80, 90].map((x) => ({
x,
numerator: cumulativeWays(x).toString(),
denominator: totalWays.toString(),
percent: (100 * Number(cumulativeWays(x))) / Number(totalWays),
}));
const result = {
frequencyTable: counts3.slice(3).map((n, i) => ({
score: i + 3,
count3d6: n,
count4d6DropLowest: counts4[i + 3],
})),
stats3,
stats4,
allSixRatio: stats4.pAllSix13Plus / stats3.pAllSix13Plus,
fivePlayersPercent: 100 * (1 - (1 - stats4.pAllSix13Plus) ** 5),
cumulative,
median: lowerMedian(sixCounts),
above90Percent: (100 * Number(totalWays - cumulativeWays(90))) / Number(totalWays),
pointBuy: pointBuy(),
};
console.log(JSON.stringify(result, null, 2));frequencyTable 是上方的結果計數;stats3 及 stats4 包含平均值、標準差、眾數、調整值及概率。stats3、stats4 中以 p 開頭的欄位是 0 至 1 的概率,以 Percent 或 percent 結尾的欄位則是百分比。cumulative 提供 P(S ≤ x) 的分子、分母及百分比,median 是中位數,pointBuy 是配置數及範圍。總和分布的計數和中位數比較使用 BigInt;轉為 Number 的小數顯示,以及期望值等小數運算,會有浮點數捨入。
核對值:median 為 74;pointBuy 的 allocations=12282、minScore=69、maxScore=75、minModifier=3、maxModifier=7。cumulative 的共同分母為 4,738,381,338,321,616,896。
規則資料與授權聲明
本文撮要及翻譯 SRD 的能力值產生規則,並加入原創概率計算與說明。以下保留授權要求的英文聲明。
This work includes material from the System Reference Document 5.2.1 (“SRD 5.2.1”) by Wizards of the Coast LLC, available at www.dndbeyond.com: SRD v5.2.1 - System Reference Document - D&D Beyond. The SRD 5.2.1 is licensed under the Creative Commons Attribution 4.0 International License, available at creativecommons.org: Legal Code - Attribution 4.0 International - Creative Commons.
參考資料及來源
- www.dndbeyond.com: Basic Rules for Dungeons and Dragons (D&D) Fifth Edition (5e) - D&D Beyond ↗
- www.dndbeyond.com: Creating a Character - D&D Beyond Basic Rules - Dungeons & Dragons - Sources - D&D Beyond ↗
- Wizards of the Coast: System Reference Document 5.2.1 ↗
- www.dndbeyond.com: Happy Founder’s Day: Gary Gygax, Dave Arneson, and the Birth of D&D | Dungeons & Dragons ↗(1979 年 DMG 的書目資料)
編輯說明
本文使用 AI 協助編輯,並在發布前由編輯核對。內容仍可能包含事實、理解或時效上的錯誤;作出重要決定前,請查閱所列的一手資料或官方文件。

