Merge pull request 'removes d2 from quickroll and overlay' (#40) from remove-d2 into main
All checks were successful
CI / deploy (push) Successful in 5m48s
All checks were successful
CI / deploy (push) Successful in 5m48s
Reviewed-on: #40
This commit is contained in:
commit
67cffae431
@ -89,7 +89,7 @@
|
||||
<button style="border: transparent; border-radius: 100%; font-size: large; font-weight: bold; height: 50px; width: 50px"
|
||||
onclick="addDice()">+
|
||||
</button>
|
||||
<button style="font-size: large; font-weight: bold;" onclick="rollEasy('d2')">D2</button>
|
||||
<!--<button style="font-size: large; font-weight: bold;" onclick="rollEasy('d2')">D2</button><-->
|
||||
<button style="font-size: large; font-weight: bold;" onclick="rollEasy('d4')">D4</button>
|
||||
<button style="font-size: large; font-weight: bold;" onclick="rollEasy('d6')">D6</button>
|
||||
<button style="font-size: large; font-weight: bold;" onclick="rollEasy('d8')">D8</button>
|
||||
|
@ -40,7 +40,7 @@
|
||||
foreground: data.numberColor
|
||||
}
|
||||
}).then(() => {
|
||||
diceBox.roll(data.roll.join('&'));
|
||||
diceBox.roll(data.roll.filter(it => it.split('@')[0].split('d')[1] !== "2").join('&'));
|
||||
})
|
||||
})
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user