mirror of
https://github.com/raeleus/Hashtag-DnD.git
synced 2025-07-05 21:20:27 -04:00
Added Stragedy Shop
This commit is contained in:
parent
7ae04124b7
commit
02b75bcbd6
4 changed files with 319 additions and 1 deletions
|
@ -16,6 +16,10 @@ function getRandom(seed) {
|
|||
return x - Math.floor(x)
|
||||
}
|
||||
|
||||
function getRandomFromList(...choices) {
|
||||
return choices[getRandomInteger(0, choices.length - 1)]
|
||||
}
|
||||
|
||||
function shuffle(array, seed) {
|
||||
let currentIndex = array.length
|
||||
while (currentIndex != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue