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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
So I been creating my own Turn Display/combat tracking/spell slinging/initiative roller system BUT its not quite working right and I can't figure out how i can test/mock the data needed so I can check for bugs and errors?
If you can give some more information, I might be able to help. I mock the Roll20 API and run tests using Jest locally (been meaning to move to ViTest, but there never seems to be enough time...).
I actually just got out of a session so finally getting back to this. So I have an init roller that runs through the active players and rolls out their inits for them and provides the party with a chance to get themselves figured out and plan as much as they can, it also allows me to track the number of rounds, etc. However, it would not always move to the next turn without crashing OR if a person got dropped it would break the flow
combat tracker would also break, so I wasn't entirely sure what was going on. But I feel I could figure it out if I was just able to test it on my own without all my players there to do so