Roll20 / Roll20/roll20-api-scripts
HeroRoller doesn't work embedded in Character Sheets.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 407
- Forks
- 602
- Avg merge
- 7d 55m
- Merged PRs (30d)
- 18
Description
Okay, it mostly works. If I put a roll like
!heroll --d:4n
As a "Custom Action" for a Hero System character sheet, it can't figure out who invoked the command and instead relies on the current speaker settings.
For players, this is fine, as they usually only control one character each. But for the GM, this often means the OCV of the last speaker is used, instead of the OCV of the character sheet containing the invocation.
I am very new to both javascript and the Roll20 API or I might have attempted a fix.
Ideally, the best thing would be to be able to autodetect being invoked from a character sheet. Failing that, having an option like:
--as:Heritic
would greatly aid in running games.
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
Locate the HeroRoller JavaScript entry point and inspect how commands invoked from Hero System character-sheet custom actions determine the speaker. Reproduce !heroll --d:4n as a GM and compare the OCV source with the containing character sheet. Done means the issue’s embedded-invocation behavior or the requested --as:Heritic alternative is implemented and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100