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 .
×
🍵 What is a cleric’s favorite hot drink? Divini-tea. 🍵
Create a free account

[Help] Critical Roll Sounds via Customizable Roll Listener & Roll20 Audio Master

1524691486

Edited 1524693117
Hey there! I'm trying to use  Customizable Roll Listener to trigger a sound via  Roll20 Audio Master whenever a roll is considered a critical or fumble, however with the pariticiular system I try to implement this in, this doesn't seem to work. A button in this system (The Dark Eye/Das Schwarze Auge) looks like this on the template: <button type="roll" value="&{template:DSA-Talente} {{name=Klettern}} {{subtags=Körperlich}} {{Talent=[[ @{Klettern_FW} - {1d20cs1cf20 - ([[@{Klettern_Eigenschaft1}]] + [[@{Klettern_Mod}]] + (?{Erleichterung(+) / Erschwernis(-)|0})) , 0d1}kh1 - {1d20cs1cf20 - ([[@{Klettern_Eigenschaft2}]] + [[@{Klettern_Mod}]] + (?{Erleichterung(+) / Erschwernis(-)|0})) , 0d1}kh1- {1d20cs1cf20 - ([[@{Klettern_Eigenschaft3}]] + [[@{Klettern_Mod}]] + (?{Erleichterung(+) / Erschwernis(-)|0})) , 0d1}kh1]]}} {{Modifikator=[[@{Klettern_Mod} + (?{Erleichterung(+) / Erschwernis(-)|0})]]}}"></button> It rolls 3 d20ies seperately and subtracts the 3 Characteristics this ability is assigned from them (at this point may apply modificators). Then it adds your rank in this ability on top of it all. Oh and in this system a 1 is a Critical Success, and a 20 a Critical Failure... And my CRL condition for it is as follows: !crl \\create,name=KErfolg,template=Routineprobe DSA-Eigenschaft DSA-Liturgie DSA-Zauber DSA-Talente DSA-Nahkampf-AT DSA-Fernkampf-AT DSA-Nahkampf-VE,text=##,roll=critical \\!roll20AM --play|kriterfolg The problem seems to be that since an inline roll becomes more complicating Customizable Roll Listener will no longer work with it. I tested this with less complicating rolls such as [[5d20]] and CRL will flawlessly detect crits and fumbles in them. However once I tried [[1+(2d20)]] it failed to function.  Is there any alternate solution to this that I did not consider? It seems that even other API Scripts such as  Critical Sound Effects seem unable to handle this roll.  Or am I doing something wrong? :o
1524693574
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hi Sherbniz, I'm not sure I'm fully following the roll rules for the system. Is it a 1 on the d20 is a crit failure and a 20 on the d20 is a crit failure, or that the totaled value of the roll equalling either of those is a crit failure? I'm actually working on an update to CRL atm as well that will hopefully fix a lot of this finickiness.
1524696302

Edited 1524696743
Scott C. said: Hi Sherbniz, I'm not sure I'm fully following the roll rules for the system. Is it a 1 on the d20 is a crit failure and a 20 on the d20 is a crit failure, or that the totaled value of the roll equalling either of those is a crit failure? I'm actually working on an update to CRL atm as well that will hopefully fix a lot of this finickiness. Uuuuh well... The calculated end result is only for interpreting if the action was successful or not. But failures and crits are derived from the d20ies rolled.. A 1 is a critical succes and 20 is a critical failure in this system since you try to roll low... It is a bit unorthodox. Apologies if I was not explaining it clearly! x-x Thanks for all your effort! It is very appreciated! :)