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

Concentration script to support beyond20 spell casting

Hi all, I don't know if the Concentration script is still being maintained, but with one small change to one line it will correctly detect the spell name when spells are cast using the beyond20 extension. Download the latest version of the concentration script from <a href="https://raw.githubusercontent.com/RobinKuiper/Roll20APIScripts/master/Concentration/Concentration.js" rel="nofollow">https://raw.githubusercontent.com/RobinKuiper/Roll20APIScripts/master/Concentration/Concentration.js</a> Then change line 173 to be &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; let spell_name = msg.content.match(/title=([^\n{}]*[^"\n{}])/) /* Shaped */ || msg.content.match(/[^r]name=([^\n{}]*[^"\n{}])/) /* 5eOGL */; &nbsp; The only addition is adding "[^r]" in front of "name=" for the 5eOGL test in this line.
1605845894
Victor B.
Pro
Sheet Author
API Scripter
It isn't.&nbsp; But it has been merged into Combat Master.&nbsp; Robin who originated it hasn't been back for a long time.&nbsp; You are welcome to change it.&nbsp;&nbsp;
It seems that the version in Combat Master only supports Pathfinder (OGL, Shaped, PF2, PF1). It doesn't detect spells cast from the standard roll20 D&amp;D character sheet, so definitely won't detect spells cast from beyond20.
1605982580
Victor B.
Pro
Sheet Author
API Scripter
Probably not.&nbsp; Those are currently the only sheets supported.&nbsp;&nbsp;