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

Group Check Ability Modifier

1613516594

Edited 1613523360
Duke
Pro
Hello, I absolutely love the API, however I am having an issue with the rolls not adding the ability modifier and just doing a straight roll. I have been reading the help via !groupcheck and google, but I am not very tech savy to find the error. Also sometimes it doesn't whisper me the rolls so the players can see. Any help would be greatly appreciated! Edit: I am playing D&D 5e, using the D&D 5e character sheet and the code is; /w gm !group-check {{ --?{Ability Save|Strength,Strength Save|Dexterity,Dexterity Save|Constitution,Constitution Save|Intelligence,Intelligence Save|Wisdom,Wisdom Save|Charisma,Charisma Save} --process --subheader vs DC ?{DC} --button ApplyDamage !apply-damage ~dmg [[?{Damage}]] ~type ?{Damage on Save|Half,half|None,none} ~DC ?{DC} ~saves RESULTS(,) ~ids IDS(,) }} I was able to find out how to make it whisper however the saves aren't using the modifiers.
What is the attribute that you are referencing? It looks like you've got: Strength Save, Dexterity Save, etc. but I'm guessing you need underscores in those to be Strength_Save, Dexterity_Save, etc.   It's always helpful if you post 1. which game you are playing (e.g. D&D 5th Edition), 2. which character sheet (e.g "D&D 5E by Roll20", and 3. the text of the macro you are using (in addition to screenshots, which are also helpful) because it can be hard to see some photos, and I definitely don't want to rewrite your macro to help you. :). [If you include the text of the macro it's also nice to put it in a code block by copying and pasting it, then clicking on the little 'magic wand' dropdown at the top left of the text box and selecting 'Code' (3rd option under Normal then Quote).] Here's an example of a code block.
Thank you Jarren K. for the info on everything, I am still very new to the Roll20 scene :) I tried the underscore method but it sadly didn't work
1613527109

Edited 1613527190
What is the output for whisper and your Saves if you run this:? !group-check-config --show It should be this: ro roll1 die_adv 2d20kh1 die_dis 2d20kl1 whisper true hideformula false usetokenname true showname true showpicture true process true Strength Save Strength Saving Throw [[d20 + ([[d0 + @{strength_save_bonus}@{pbd_safe}]]*(1-@{npc})) [PC] + (@{npc_str_save}*@{npc}) [NPC]]] Dexterity Save Dexterity Saving Throw [[d20 + ([[d0 + @{dexterity_save_bonus}@{pbd_safe}]]*(1-@{npc})) [PC] + (@{npc_dex_save}*@{npc}) [NPC]]] Constitution Save Constitution Saving Throw [[d20 + ([[d0 + @{constitution_save_bonus}@{pbd_safe}]]*(1-@{npc})) [PC] + (@{npc_con_save}*@{npc}) [NPC]]] Intelligence Save Intelligence Saving Throw [[d20 + ([[d0 + @{intelligence_save_bonus}@{pbd_safe}]]*(1-@{npc})) [PC] + (@{npc_int_save}*@{npc}) [NPC]]] Wisdom Save Wisdom Saving Throw [[d20 + ([[d0 + @{wisdom_save_bonus}@{pbd_safe}]]*(1-@{npc})) [PC] + (@{npc_wis_save}*@{npc}) [NPC]]] Charisma Save Charisma Saving Throw [[d20 + ([[d0 + @{charisma_save_bonus}@{pbd_safe}]]*(1-@{npc})) [PC] + (@{npc_cha_save}*@{npc}) [NPC]]] Death Save Death Saving Throw [[d20 + @{death_save_bonus}@{globalsavingthrowbonus}]] If yours looks different, try running: !group-check-config --import 5E-OGL And then try your macro again. Here's the macro I use, which looks identical, except you've taken out the roll type (which shouldn't affect the rest of it) and you've added a /w gm to the beginning. If you only ever want rolls whispered to you, then you can set the config to always whisper to you. My guess is your config is currently set to 'public' rolls, and that's causing the issue. !group-check {{ --?{Ability Save|Strength,Strength Save|Dexterity,Dexterity Save|Constitution,Constitution Save|Intelligence,Intelligence Save|Wisdom,Wisdom Save|Charisma,Charisma Save} --whisper --ro ?{Roll Type|Normal,roll1|Advantage,adv|Disadvantage,dis} --process --subheader vs DC ?{DC} --button ApplyDamage !apply-damage ~dmg [[?{Damage|0}]] ~type ?{Damage on Save|Half,half|None,none} ~DC ?{DC} ~saves RESULTS(,) ~ids IDS(,)}} So if you only ever want rolls whispered to you as GM, then run this command and you can use your code without the "/w gm" or " --whisper" : !group-check-config --set whisper