Correct typos in output
This commit is contained in:
parent
03a24fefc3
commit
557431235b
8 changed files with 10 additions and 10 deletions
|
|
@ -47,8 +47,8 @@ async function rollDice() {
|
|||
const { statBase, extraDice } = answers;
|
||||
let rollMode = game.settings.get(`core`, `rollMode`);
|
||||
|
||||
let diceCount = statBase;
|
||||
diceCount += extraDice;
|
||||
let diceCount = statBase ?? 1;
|
||||
diceCount += extraDice ?? 0;
|
||||
|
||||
let successes = 0;
|
||||
let critsOnly = 0;
|
||||
|
|
@ -85,7 +85,7 @@ async function rollDice() {
|
|||
|
||||
let successType = `Normal`;
|
||||
if (successes >= 8) {
|
||||
content += `<div style="${notifStyle} ${greenNotif}">POP OFF</div> Add one to your gun stat and gain 1 additional Momentum!`;
|
||||
content += `<div style="${notifStyle} ${greenNotif}">POP OFF</div> Add one to your Axolotl stat and gain 1 additional Momentum!`;
|
||||
successType = `Popped Off`;
|
||||
}
|
||||
else if (successes === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue