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 .
×

API Script Macros not working

1642696234

Edited 1642696485
After a break for the holidays my games resumed this last week and much to my dismay as a DM we had issues with API scripts. My players were not able to use the full and short rest macros and the group initiative macro didn't work at first. I reloaded it went back in and it worked but the initiative numbers were all to the hundredths decimal place. 11.01 is obviously not something you can roll and honestly it made my players question the system. I noticed that Roll20 seems to have some kind of update since we last played and I was wondering if it affected their built in macros and if there is a fix for them?
1642702215
Kraynic
Pro
Sheet Author
Depending on what sheet you are using, some have a tie-breaker option for initiative that will include dexterity or a dexterity modifier as a decimal for the tie-breaker.  Maybe that is enabled on certain sheets or in the game settings accessed from the launch/details page?
I see this all the time and I dunno if its a communication issue between me and the guys who write the scripts but group init most definitely does not work out of the box with tiebreakers in the 5e OGL sheet, it does as the OP says, a wonky messsed up tiebreaker.  The solution to this problem for me, is everytime I install group init for the first time I run the following two commands to fix the tie breaker: !group-init --del-group 1 !group-init --add-group --bare initiative_bonus I dunno why the tiebreaker gets weird, all I know is these two commands puts the tie breaker back to what it should be.