Skip to content

HeroRoller doesn't work embedded in Character Sheets. #1268

@ghost

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions