Skip to content

Commit

Permalink
Merge pull request #1924 from keithcurtis1/patch-1
Browse files Browse the repository at this point in the history
Supernotes and Dealer
  • Loading branch information
Alicekb authored Apr 30, 2024
2 parents 399d3bb + 69864e2 commit e134fb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dealer/script.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Dealer",
"script": "Dealer.js",
"version": "1.2",
"version": "2.0",
"description": "Deals and takes cards from players by deck\r\rSyntax is:\r`!deal --[give,take] [#] --[deck name]|[Card Name]`\r\rIf give/take is not specified, it gives a card to the player controlling the selected token If deck name is not specified, it defaults to \"Playing Cards\". If a card name is not specified, it defaults to a random card from the specified deck.\r\rYou can specify a number of cards to give or take. After the action word, type an integer, after a space:\r\r`!deal --give 5 --Playing Cards`\r\rYou can specify a card to deal by name. If no card exists by that name in that deck, the script will inform the user by chat message. Note that it is possible to give multiple copies of the same card even from a finite deck:\r\r`!deal --give --Playing Cards|Six of Hearts`\r\rThe script will deal cards to the player from the specified deck so long as there are enough available. If the deck has cycled through all cards, it will automatically shuffle.\r\rIf a token has more than one controller or is controlled by All and one or more players, it will select the first single player in the controlled by list.\r\rScript will try to let you know if you have not prepared a command or deck properly.\r\rIf deck does not deal a card, you may need to manually shuffle (Roll20 bug). If the deck is shuffled, it may not recognize all cards in hand.",
"authors": "Keith Curtis",
"roll20userid": "162065",
Expand All @@ -11,5 +11,5 @@
"deck.*": "read,write"
},
"conflicts": [],
"previousversions":["1.0","1.1"]
"previousversions":["1.0","1.1","1.2"]
}

0 comments on commit e134fb6

Please sign in to comment.