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

[Script] [5e OGL] Automated Token ability Spellbook, Attackbook, Actionbook, etc.


Edited 1508547718
Idea, and original code credit goes to James W. <a href="" rel="nofollow"></a>... A friend of mine has a weak laptop and it can't quite handle having all the character sheets up when he's GMing. So I figured I'd make a script to rip out spells, actions, and other random things and throw them into chat at the press of a Token Ability... This means that if your computer is slow you don't really need you character sheet open, you can access most things through your token if it's connected to your sheet. <a href="" rel="nofollow"></a> Options include: !generate-spellbook - Will generate a Token Ability that lists all spells on the linked character sheet, categorized by level. !generate-attackbook - Will generate a Token Ability that lists all attacks, npc actions, and npc legendary actions on the linked character sheet. !generate-checkbook - Will generate a Token Ability that lists all stat and skill checks including saves on the linked character sheet. These commands generate these Token Abilities for all selected tokens, and must be run again if spells, attacks, actions, etc are added to the character sheet. (Stat changes should come in automatically, but don't quote me on that). I'm not taking any major feature requests at the moment, but if you find a bug I'll try to fix it. I recommend making a macro and just putting all 3 commands in there, but kept is separate in case someone only wanted the spellbook or otherwise.
Attacks and Spells seem to be duplicated when I execute the token macro on an NPC after the generator creates it. The checks menu looks OK.
Hmm, I haven't seen that, but I'll look into it and let you know when I fix the issue...

Edited 1509649120
I'm not sure how you managed to get that to happen, but I think it's an issue with the sheet you're trying to use it on. If you can give me a step by step way to reproduce this from a new character sheet then I'll be able to help, but without that I'm not sure I can really help. This simply loops through the actions and spells on the sheet and spits them out. I'd think it's duplicated in your sheet somehow... Maybe from a sheet conversion of some sort. I've only tested this on the OGL 5e v2.1 so maybe older versions have this issue.
I decided to make an alternate statblock style api... use !statblock for this one:&nbsp;<a href="" rel="nofollow"></a>