diff --git a/Axolotl-with-a-Gun/guns/mini-gun/base.mjs b/Axolotl-with-a-Gun/guns/mini-gun/base.mjs index 9bbfc22..a3dcce1 100644 --- a/Axolotl-with-a-Gun/guns/mini-gun/base.mjs +++ b/Axolotl-with-a-Gun/guns/mini-gun/base.mjs @@ -58,7 +58,7 @@ async function main() { await r.evaluate(); let classes = `roll die d6`; - const total = r.total; + let total = r.total; if (total <= statBase) { successes += 1; @@ -82,7 +82,7 @@ async function main() { if (succeeded) { try { - const { holdTheTrigger, ventHeat } = await DialogManager.ask({ + const { holdTheTrigger } = await DialogManager.ask({ id: `mini-gun-hold-the-trigger`, question: `Hold The Trigger?`, inputs: [ @@ -114,6 +114,7 @@ async function main() { heatMeter += (holdTheTrigger ? 1 : -1); if (holdTheTrigger) { diceCount += 1; + classes += ` exploded`; }; if (heatMeter >= 6) { heatMeter = 0;