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

!spelltracking is being applied to NPC spellcasters

How do I turn off !spelltracking from the ( 5th Edition OGL by Roll20 Companion API? I don't know how to reset my NPCs after they cast spells and I wish it didn't track NPC spells? can anyone help?
1587080050
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
From the wiki entry : !spelltracking on/off/quiet  - Automatically expends spell charges as cast, factoring in higher level casting, and spells marked as Rituals will not spend a spell slot. Options: on  - Toggles the functionality on (default) off  - Disables the functionality quiet  - Maintains functionality while preventing results from being output to the chat.
1587080142
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Alternatively, if you wanted to not have NPC spells tracked, but want to preserve it for NPCs, you could change each spell to "at will" or just give them 100 slots in each level.
I love it for my players as I can just !longrest them to reset their spells but that doesn't seem to work on my NPCs or I don't know how to at least. Also all of my caster mooks share the same spell slot pool with this mod and its rather difficult to know the accurate amount each NPC is supposed to have if they all are draining it. can I turn off the functionality for NPCs only so that it doesn't keep changing their character sheets? Id rather just remember how many slots left they have.
1587081860
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Install ChatSetAttr and run this command while selecting an PC token. It will turn off most messages, except for spells that have higher level casting. This is one of those cases where the difference between setting something programmatically, and doing it manually makes a difference. Basically, this writes "innate" into every "innate" field of every spell. If you do this manually, it will work across the board. If you use the script/macro, it will have the limitations I describe.
Thanks!