add critical success
parent
e4f6d674df
commit
69e4c7fabe
|
@ -442,7 +442,9 @@ const handleRiskOutput = ({ high, pool, stress }) => {
|
||||||
out.innerText += ' ' + pool.join(', ')
|
out.innerText += ' ' + pool.join(', ')
|
||||||
out.innerText += '\nHighest: '
|
out.innerText += '\nHighest: '
|
||||||
out.innerText += ' ' + high + ' = '
|
out.innerText += ' ' + high + ' = '
|
||||||
out.innerText += (high < 4)
|
out.innerText += (pool.filter(d => d === 6).length > 1)
|
||||||
|
? ` Wow, that's a CRITICAL SUCCESS!!`
|
||||||
|
: (high < 4)
|
||||||
? ' Bad. Things get worse. Take a condition.'
|
? ' Bad. Things get worse. Take a condition.'
|
||||||
: (high < 6)
|
: (high < 6)
|
||||||
? ' Mixed. Partial success, or success with complication'
|
? ' Mixed. Partial success, or success with complication'
|
||||||
|
|
Loading…
Reference in New Issue