Fixed #addcard not giving out numbered cards and instead giving out random ones

This commit is contained in:
raeleus 2025-04-03 22:46:17 -07:00
parent 737b2aa335
commit 38590f6e6c
2 changed files with 19 additions and 0 deletions

View file

@ -1914,6 +1914,24 @@ function doAddCard(command) {
case "b":
case "brigand":
return doTake("take Stragedy Brigand Card")
case "2":
return doTake("take Stragedy 2 Card")
case "3":
return doTake("take Stragedy 3 Card")
case "4":
return doTake("take Stragedy 4 Card")
case "5":
return doTake("take Stragedy 5 Card")
case "6":
return doTake("take Stragedy 6 Card")
case "7":
return doTake("take Stragedy 7 Card")
case "8":
return doTake("take Stragedy 8 Card")
case "9":
return doTake("take Stragedy 9 Card")
case "10":
return doTake("take Stragedy 10 Card")
case "common":
return doTake(`take Stragedy ${getRandomFromList("2", "3", "4", "5", "6", "7", "8", "9")} Card`)
case "rare":

View file

@ -22,6 +22,7 @@ v. 0.6.0
* Added commands #takeweapon, #takearmor, and #equip to allow automatic stat changes when using gear
* Added descriptions for all DnD Player's Handbook and Dungeon Master's Guide items to story cards
* Fixed #spellshop not giving properly randomized spells
* Fixed #addcard not giving out numbered cards and instead giving out random ones
v. 0.5.0
* Added Mastermind/Lockpicking Game