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

[Shadowrun 5] Is this a bug in the sheet or Roll20?

1472757612

Edited 1472848092
Edit: Go to my  first reply to this post please, I believe I figured it out, but I need some help fixing it. I'm playing in multiple SR5 games, and I noticed something odd. When I drag a the Roll-Button for a Skill onto the macro bar, it suddenly rolls something completely different then when I click the button in the sheet. I took a few screenshots to show it. This is what my Skill-Section looks like Bit fuzzy, but well... If I know click on the Roll button for Negotiation (it says 13 in it, for 13 dice being rolled), this is the result: I also hovered over the result, so you see the exact thing. Anyway, this is the correct roll. Now I drag this button down into the macrobar: Not sure if that means anything to anyone, but that's what it's called then. Clicking it, the result becomes as follows: It suddenly has a "Specialised" line in there, which it shouldn't. That's the Button next to the one I dragged down (the one with 15 in it). If you count you also notice it really rolled 15 dice not 13 as above. And you can see that the whole Roll formula looks way more confusing too. So what the hell's going on there? Why is it dragging the wrong button down? Is that a bug with Roll20 in general that it sometimes does that, or is something labeled wrong in the SR5 Charsheet? Oh and just in case anyone is interested, here is what gets actually sent to the chat and executed. For the first (correct) roll: @{Circe|gmonlyrolls}&{template:@{Circe|templatechoice}} {{shownotes=@{Circe|configshownotes}}} {{name=@{Circe|name}}} {{roll_header=Active Skill}} {{v1=Negotiation}} {{v1_num=3}} {{v2=Attribute}} {{v2_num=@{Circe|charisma}}} {{v3=Misc}} {{v3_num=2}} {{v4=Limit Mod}} {{v4_num=3}} {{v5=Situational Modifier}} {{v5_num=?{Situational Modifiers?|0}}} {{woundpenalty=[[@{Circe|calcwoundmod}]]}} {{limit=12}} {{result1_label=Successes}} {{result1=[[(13+?{Situational Modifiers?|0})d6>5sk12]]}} For the second (incorrect) roll: %{Circe|repeating_activeskills_-KIKDDpqp5kK5kwtbipw_activeskillroll} Sure, I suppose I can just create a custom macro with the content I just posted there, and get it to do what I want. But I'd much rather have the sheet work as it's supposed to.
Ok, I think I figured out the problem. I can't actually test it, since I'm not a Pro subscriber and can't do custom sheets, so I hope someone who knows what they're doing can look at this and tell me if I'm right, and maybe commit an updated version to github. It seems the version being used is the "Shadowrun5e-Gerdofal" version. So in the  Shadowrun5e-Gerdofal.html file: In Line 815 & 820, where the two buttons I mentioned are defined, they're both having the same name. 815: <button class="sheet-hidden-roll" type="roll" name="roll_activeskillroll" value="@{gmonlyrolls}&{template:@{templatechoice}} {{shownotes=@{configshownotes}}} {{name=@{name}}} {{roll_header=Active Skill}} {{v1=@{activeskillname}}} {{v1_num=@{activeskillbase}}} {{v2=Attribute}} {{v2_num=@{activeskillattr}}} {{v3=Misc}} {{v3_num=@{activeskillmisc}}} {{v4=Limit Mod}} {{v4_num=@{activeskilllimitmod}}} {{v5=Situational Modifier}} {{v5_num=?{Situational Modifiers?|0}}} {{woundpenalty=[[@{calcwoundmod}]]}} {{limit=@{activeskillcalclimit}}} {{result1_label=Successes}} {{result1=[[(@{activeskilldiesum}+?{Situational Modifiers?|0})d6>5sk@{activeskillcalclimit}]]}}" title="Skill Roll" /> 820: <button class="sheet-hidden-roll" type="roll" name="roll_activeskillroll" value="@{gmonlyrolls}&{template:@{templatechoice}} {{shownotes=@{configshownotes}}} {{name=@{name}}} {{roll_header=Active Skill}} {{v1=@{activeskillname}}} {{v1_num=@{activeskillbase}}} {{v2=Attribute}} {{v2_num=@{activeskillattr}}} {{v3=Misc}} {{v3_num=@{activeskillmisc}}} {{v4=Situational Modifier}} {{v4_num=?{Situational Modifiers?|0}}} {{v5=Specialized}} {{v5_num=2}} {{woundpenalty=[[@{calcwoundmod}]]}} {{limit=@{activeskillcalclimit}}} {{result1_label=Successes}} {{result1=[[(@{activeskilldiesum}+2+?{Situational Modifiers?|0})d6>5sk@{activeskillcalclimit}]]}}" title="Skill Roll" /> Both "roll_activeskillroll". I believe that's the problem, since in other parts of the sheet, where the buttons are recognized correctly, Spells for example (lines 1321 + 1325), they have different names. Change the button in 820 to "roll_activeskillspecroll" to stay with the naming conventions used, should fix it, I think. If this should turn out to be the case, please also check lines 914+919 and 1017+1022 as it seems to be the same problem there.