Last active
October 9, 2019 20:49
-
-
Save ndugger/56f42e7038b056302360b5de8447e946 to your computer and use it in GitHub Desktop.
Dungeon Master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use master number. | |
| define dice as blueprint: | |
| define sides as number. | |
| define new as action (use number as sides): | |
| set dice sides to sides. | |
| define roll as action: | |
| share result of round number (sides: result of random number (min: 0, max: sides)). | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use dice. | |
| use goblin. | |
| define execute as action: | |
| define mob as goblin, set to result of new goblin (hp: 10, mp: 5). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment