kcaf / d20-boilerplate

Roll20 userscript boilerplate. Bypass Content Security Policy and gain access to d20 object.
MIT License
4 stars 0 forks source link

Roll20 API functions? #1

Open botchi09 opened 7 years ago

botchi09 commented 7 years ago

Would it also be possible to expose the API functions globally too? I'm unsure if they're already somewhere in the script, but being able to do stuff like create repeating attributes would be a godsend.

kcaf commented 7 years ago

Once the main d20 object is exposed, you should have the keys the kingdom. The problem is you would have to implement them yourself.

botchi09 commented 7 years ago

Oh right, I guess my real question is if you know if a way to access and modify repeating using the d20 object without delving into mucking around with the sheet HTML.