
Hi all I am using the companion script in all my D&D 5e games I recently found an issue with spell slots tracking when using spells that can be upcast. The chat message was saying "All slots expanded" and there was also a 'NaN' (not a numeric) javascript error in the message. Looks like this is due to some changes to the roll buttons in the character sheet resulting in the script not able to parse the correct slot from the roll results Since the last 1.4.4 version was 3 years old, I decided to fix the issue and submit a new version 1.4.5 to Roll20 So there you have it : you can now use upcast-able spells and the used slot is correctly counted If the original authors are lurking on the forums and want to know what was changed : Line 288 should now read as : 288 var hlinline = (msg.content.split("{{hldmg=$[[")[1]||"").split("]]")[0]; And line 289 should be commented out Happy gaming all :)