
We have a wild magic sorcerer joining the game for the first time. As I researched ways to automate the Wild Magic Surge rolls, I kept reading comments like "not without the API" and "you need to have the API". I can't figure out what API people are talking about. I do have a pro account and I use a few APIs, but I am by no means very versed in them. We use the 5eOGL character sheet. I looked through all the APIs that are listed in the game's set up page, but none seem to fit. I successfully added nmrcarroll's MagicalSurges.js from github and it does roll a d20 every time the sorcerer casts a level 1+ spell, but when the result is a 1, it does not automatically generate any surge from the wild magic effects rollable table. So I guess my question is two part... is there something like an "official" API for this that everyone is probably referencing when they say "the API"? Any idea which one it is? And secondly, maybe the MagicalSurges.js API is just fine, and there is something I need to do/change so that it will automatically retrieve a result from the rollable table when the d20 =1. Thanks for any guidance.