Roll20 / Roll20/roll20-api-scripts
Some Randomization
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 407
- Forks
- 602
- Avg merge
- 7d 55m
- Merged PRs (30d)
- 18
Description
This is not an issue. I just wanted to share this information. When I play Hero system I like there to be some randomization to when characters take actions, much like in other RPG games like D&D and such. Of course the speed chart is intricate and important to the game so the way I do this is by setting the initial segment that a character can react on to be based on the first action in the segment chart. For instance if the chart says that your first action is in the 6th segment because you have a speed of 6 then I like to roll a 6 sided die to set the first segment to sometime between the 1st and 6th round.
In the spirit of this I have taken your script and made a copy for myself. I added a randomizer function and another function that uses that randomizer to generate a random first segment based on the characters speed. I can share my code if you are interested.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is identified. First clarify whether this proposed randomization belongs in the project and request the referenced code; the scope and definition of done must be agreed before implementation can begin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 10/100