Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Scripts] 4e Helper

May 08 (11 years ago)
Alex L.
Pro
Sheet Author

Warning this is work in progress don't expect it to always work!


OK so this is just for Riley as he expressed an interest in what we are all doing with the API.

This group of scripts is my ground work to building a system to make running a 4th edition D&D game easier for everyone by extending macros, handling status effects and maybe some other stuff down the line.

Rather than post a bunch of Gists I have thrown it up on Github.

https://github.com/pigalot/Roll20-4e-Helper

Update 1:

  • Changed over my storage system to use state.
  • Added function to access attributes from a character.
  • Added Healing and Damage functions (they are aware of the ideas of bloodied, unconscious and dead but only heal does anything with it).

May 08 (11 years ago)
Riley D.
Roll20 Team

Awesome! I haven't had a chance to thoroughly read through all of it yet, but it looks like an excellent foundation :-) Thanks for sharing!

May 08 (11 years ago)
Alex L.
Pro
Sheet Author

Its mainly just wrapping of roll20 objects to give them some utility functions.

May 10 (11 years ago)
Alex L.
Pro
Sheet Author

Update 1:

  • Changed over my storage system to use state.
  • Added function to access attributes from a character.
  • Added Healing and Damage functions (they are aware of the ideas of bloodied, unconscious and dead but only heal does anything with it).