Skip to content

Commit

Permalink
adjust wording, particularly "greater than" -> "beating difficulty"
Browse files Browse the repository at this point in the history
  • Loading branch information
HighDiceRoller committed Nov 14, 2023
1 parent 4467f8d commit 5d88c75
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions apps/cortex_prime.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h2>Total and effect die</h2>
Show:
<select id="distSelect">
<option value="pmf">Chance of total exactly</option>
<option value="ccdf" selected="selected"><i>Chance of total greater than</option>
<option value="ccdf" selected="selected"><i>Chance of beating difficulty</option>
</select>
</div>
<div class="chart_container"><canvas id="totalChart"></canvas></div>
Expand Down Expand Up @@ -221,22 +221,21 @@ <h2>Hitches</h2>
x: {
title: {
display: true,
text: 'Total',
},
},
y: {
beginAtZero: true,
title: {
display: true,
text: 'Chance total at least',
text: 'Chance of beating difficulty',
},
},
y1: {
display: true,
position: 'right',
title: {
display: true,
text: 'Chance difficulty exactly',
text: 'Chance of difficulty exactly',
},
grid: {
drawOnChartArea: false, // only want the grid lines for one axis to show up
Expand Down Expand Up @@ -538,7 +537,7 @@ <h2>Hitches</h2>
totalChart.data.datasets[3].borderColor = 'rgba(0, 200, 240, 0.125)';
totalChart.data.datasets[4].borderColor = 'rgba(0, 0, 240, 0.125)';
totalChart.data.datasets[5].borderColor = 'rgba(220, 0, 240, 0.125)';
totalChart.options.scales.y.title.text = 'Chance total exactly';
totalChart.options.scales.y.title.text = 'Chance of exactly';
totalChart.options.scales.y1.display = false;
totalChart.data.datasets[6].yAxisID = 'y';
} else {
Expand All @@ -551,7 +550,7 @@ <h2>Hitches</h2>
totalChart.data.datasets[3].borderColor = 'rgba(0, 200, 240, 1.0)';
totalChart.data.datasets[4].borderColor = 'rgba(0, 0, 240, 1.0)';
totalChart.data.datasets[5].borderColor = 'rgba(220, 0, 240, 1.0)';
totalChart.options.scales.y.title.text = 'Chance total at least';
totalChart.options.scales.y.title.text = 'Chance of beating difficulty';
totalChart.options.scales.y1.display = true;
totalChart.data.datasets[6].yAxisID = 'y1';
}
Expand Down Expand Up @@ -705,9 +704,12 @@ <h2>Notes</h2>
<li>Remember that the roller loses ties, dice that roll a 1 (hitch) can't be used for the total or effect, and there is always the option to have a "free" d4 effect.</li>
<li>Because the roller loses ties, the difference between a normal success and the first heroic success is 4 rather than 5.</li>
<li>On the "exactly" plot, the effect die curves show the chance of rolling exactly a total while keeping an effect die of <b>at least</b> that size.</li>
<li>On the "greater than" plot, the vertical <b>position</b> of each effect die <b>curve</b> at a particular total is the chance of achieving that total while keeping an effect die of <b>at least</b> that size.</li>
<li>On the "greater than" plot, the vertical <b>extent</b> of each effect die <b>area</b> at a particular total is the chance of achieving that total while keeping an effect die of <b>exactly</b> that size.</li>
<li>On the "greater than" plot, the area above the d4 curve represents failure.</li>
<li>On the "beating difficulty" plot:
<ul>
<li>The vertical <b>position</b> of each effect die <b>curve</b> at a particular total is the chance of beating that difficulty while keeping an effect die of <b>at least</b> that size.</li>
<li>The vertical <b>extent</b> of each effect die <b>area</b> at a particular total is the chance of beating that difficulty while keeping an effect die of <b>exactly</b> that size.</li>
<li>The area above the d4 curve represents failure.</li>
</ul>
</ul>

<h3>How does it work?</h3>
Expand Down

0 comments on commit 5d88c75

Please sign in to comment.