
This is still in development, but it could be useful as is. [ Code ] Condefinition reads incoming roll templates and looks for imposed conditions and saving throws. It then spits out a short list of buttons. If the roll template contains a saving throw, it gives a button for the saving throw. Press the button and click on a target to have it roll the appropriate save. If you have GroupCheck installed, it will run a groupcheck save. If you have Apply Damage installed, it will run through the steps to do a save and apply damage. If the roll template contains an imposed condition, it will create a button to define the condition. If there is a cross reference in the definition of the condition, it will create an inline link. You can also hover over the button for the text. You can use this button to whisper the text to yourself, or broadcast to the players. You can also toggle that condition on any selected tokens. Assigning token markers requires installing TokenMod , and for greater facility, LibTokenMarkers. It comes with the default Status Markers assigned, but can be edited to use custom token markers. Instructions are in the post below . Currently, there are some limitations: This is built for GMs to facilitate running NPCs. It doesn't do saves for PCs, and doesn't read some roll templates that are unique to PCs. It is designed to parse the D&D 5th Edition by Roll20 Sheet. I have tried to catch every variation of condition wording, but I have probably missed a few incidences, particularly in products which do not adhere well to the WotC style. In this iteration, all buttons and definitions are whispered to the controller of the NPC, typically the GM. If there is interest, I may change this to obey the whisper settings of the NPC, but I did not want to spam the chat. It does not yet handle spells, only attacks, actions and traits. Demo (click for animation): Condefinitions can produce a reference palette of all buttons. Type !condef-all to display this. Condefintion will monitor if the token taking damage has a defined concentration marker on it. If you reduce the hit point bar of a concentrating token, the script will prompt you to make the appropriate Constitution save. You can set this Concentration marker on this line: // SET STATUS CONDITIONS OR TOKEN MARKERS HERE const condefConcetrationMarker = "status_" + "Concentrating::35390"; Example. "Random" just took 40 hp of damage while concentrating on a spell: Condefintions now allows you to select any number of tokens and run !condef-report. The script produces a set of report buttons for each selected token that has a defined condition marker on it.The sub-buttons that toggle token markers will only affect the respective token, and that token does not need to be selected.