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

Degenesis

I made macros for Degenesis; you can have them grouped by attribute or all-in-one. Enjoy! Question : Is there any way to add to the selected [or queried] from the drop down (i.e., show I selected athletics verse toughness)? Anything I can do to enhance them? Body &{template:default} {{name=Body roll for @{selected|character_name}}}{{Roll @{selected|body} + ?{Skill|Athletics, @{selected|athletics}|Brawl, @{selected|brawl}|Force, @{selected|force}|Melee, @{selected|melee}|Stamina, @{selected|stamina}|Toughness, @{selected|toughness}} [[[[ (@{selected|body} + ?{Skill})]]d6s>4]] Successes}} Agility &{template:default}{{name=Agility roll for @{selected|character_name}}}{{Roll @{selected|agility} + ?{Skill|Crafting, @{selected|crafting}|Dexterity, @{selected|dexterity}|Navigation, @{selected|navigation}|Mobility, @{selected|mobility}|Projectiles, @{selected|projectiles}|Stealth, @{selected|stealth}} [[[[ (@{selected|body} + ?{Skill})]]d6s>4]] Successes }} Charisma &{template:default} {{name=Charisma roll for @{selected|character_name}}}{{Roll @{selected|charisma} + ?{Skill|Arts, @{selected|arts}|Conduct, @{selected|conduct}|Expression, @{selected|expression}|Leadership, @{selected|leadership}|Negotiation, @{selected|negotiation}|Seduction, @{selected|seduction}} [[[[ (@{selected|body} + ?{Skill})]]d6s>4]] Successes}} Intellect &{template:default}{{name=Intellect roll for @{selected|character_name}}}{{Roll @{selected|intellect} + ?{Skill|Artifact Lore, @{selected|artifact_lore}|Engineering, @{selected|engineering}|Focus, @{selected|focus}|Legends, @{selected|legends}|Medicine, @{selected|medicine}|Science, @{selected|science}} [[[[ (@{selected|body} + ?{Skill})]]d6s>4]] Successes }} Psyche &{template:default}{{name=Psyche roll for @{selected|character_name}}}{{Roll @{selected|psyche} + ?{Skill|Cunning, @{selected|cunning}|Deception, @{selected|deception}|Domination, @{selected|domination}|Faith, @{selected|faith}|Reaction, @{selected|reaction}|Willpower, @{selected|willpower}} [[[[ (@{selected|body} + ?{Skill})]]d6s>4]] Successes }} Instinct &{template:default} {{name=Instinct roll for @{selected|character_name}}}{{Roll @{selected|instinct} + ?{Skill|Empathy, @{selected|empathy}|Orienteering, @{selected|orienteering}|Perception, @{selected|perception}|Primal, @{selected|primal}|Survival, @{selected|survival}|Taming, @{selected|taming}} [[[[ (@{selected|body} + ?{Skill})]]d6s>4]] Successes}} All-in-One &{template:default} {{name=Skill roll for @{selected|character_name}}} {{Roll ?{Attribute|Body, @{selected|body}|Agility, @{selected|agility}|Charmisa, @{selected|charisma}|Intellect, @{selected|intellect}|Psyche, @{selected|psyche}|Instinct, @{selected|instinct}} + ?{Skill|Athletics, @{selected|athletics}|Brawl, @{selected|brawl}|Force, @{selected|force}|Melee, @{selected|melee}|Stamina, @{selected|stamina}|Toughness, @{selected|toughness}|Crafting, @{selected|crafting}|Dexterity, @{selected|dexterity}|Navigation, @{selected|navigation}|Mobility, @{selected|mobility}|Projectiles, @{selected|projectiles}|Stealth, @{selected|stealth}|Arts, @{selected|arts}|Conduct, @{selected|conduct}|Expression, @{selected|expression}|Leadership, @{selected|leadership}|Negotiation, @{selected|negotiation}|Seduction, @{selected|seduction}|Artifact Lore, @{selected|artifact_lore}|Engineering, @{selected|engineering}|Focus, @{selected|focus}|Legends, @{selected|legends}|Medicine, @{selected|medicine}|Science, @{selected|science}|Cunning, @{selected|cunning}|Deception, @{selected|deception}|Domination, @{selected|domination}|Faith, @{selected|faith}|Reaction, @{selected|reaction}|Willpower, @{selected|willpower}|Empathy, @{selected|empathy}|Orienteering, @{selected|orienteering}|Perception, @{selected|perception}|Primal, @{selected|primal}|Survival, @{selected|survival}|Taming, @{selected|taming}} [[[[ (?{Attribute} + ?{Skill} )]]d6s>4]] Successes }}
Very new to Macros; was able to figure it out by making each check a separate one &{template:default} {{name=Skill roll for @{selected|character_name}}}{{?{Skill|Athletics, Athletics= [[[[ (@{selected|body} + @{selected|athletics})]]d6s>4]] Successes|Brawl, Brawl= [[[[ (@{selected|body} + @{selected|brawl})]]d6s>4]] Successes|Force, Force= [[[[ (@{selected|body} + @{selected|force})]]d6s>4]] Successes|Melee, Melee= [[[[ (@{selected|body} + @{selected|melee})]]d6s>4]]|Stamina, Stamina= [[[[ (@{selected|body} + @{selected|stamina})]]d6s>4]] Successes|Toughness, Toughness= [[[[ (@{selected|body} + @{selected|toughness})]]d6s>4]] Successes}}}
1658921547

Edited 1658921798
GiGs
Pro
Sheet Author
API Scripter
You can make macros inside queries easier to read by putting a line break after each |, like so &{template:default} {{name=Skill roll for @{selected|character_name}}}{{?{Skill| Athletics, Athletics= [[[[ (@{selected|body} + @{selected|athletics})]]d6s>4]] Successes| Brawl, Brawl= [[[[ (@{selected|body} + @{selected|brawl})]]d6s>4]] Successes| Force, Force= [[[[ (@{selected|body} + @{selected|force})]]d6s>4]] Successes| Melee, Melee= [[[[ (@{selected|body} + @{selected|melee})]]d6s>4]]| Stamina, Stamina= [[[[ (@{selected|body} + @{selected|stamina})]]d6s>4]] Successes| Toughness, Toughness= [[[[ (@{selected|body} + @{selected|toughness})]]d6s>4]] Successes}}} Also as a guide, when there's something duplicated on every 'row' of the query, you can move that outside of the query, like so &{template:default} {{name=Skill roll for @{selected|character_name}}}{{?{Skill| Athletics,Athletics= [[[[ (@{selected|body} + @{selected|athletics}| Brawl,Brawl= [[[[ (@{selected|body} + @{selected|brawl}| Force,Force= [[[[ (@{selected|body} + @{selected|force}| Melee,Melee= [[[[ (@{selected|body} + @{selected|melee}| Stamina,Stamina= [[[[ (@{selected|body} + @{selected|stamina}| Toughness,Toughness= [[[[ (@{selected|body} + @{selected|toughness} } )]]d6s>4]] Successes}} Also, you can use spaces liberally to help make the code more readable, so i added a couple on the last row, so it's easier to see the end of the query. But I removed the spaces after the comma on each row of the comma inside the query. That's because everything after the comma is printed, so after you select a skill, you'd actually have &{template:default} {{name=Skill roll for @{selected|character_name}}}{{ Athletics= instead of &{template:default} {{name=Skill roll for @{selected|character_name}}}{{Athletics= This doesnt make much difference, it's just neater I think.
1658921916

Edited 1658922428
This adjustment included the modifiers Edit: adjusted with GiGs suggestion &{template:default} {{name=Skill roll for @{selected|character_name}}}{{?{Skill| Athletics,Athletics= [[[[ (@{selected|body_preview} + @{selected|athletics_preview} + @{selected|action_modifier}| Brawl,Brawl= [[[[ (@{selected|body_preview} + @{selected|brawl_preview} + @{selected|action_modifier}| Force,Force= [[[[ (@{selected|body_preview} + @{selected|force_preview} + @{selected|action_modifier}| Melee,Melee= [[[[ (@{selected|body_preview} + @{selected|melee_preview} + @{selected|action_modifier}| Stamina,Stamina= [[[[ (@{selected|body_preview} + @{selected|stamina_preview} + @{selected|action_modifier}| Toughness,Toughness= [[[[ (@{selected|body_preview} + @{selected|toughness} + @{selected|action_modifier_preview} } )]]d6s>4]] Successes}}
Thanks, mate! GiGs said: You can make macros inside queries easier to read by putting a line break after each |, like so &{template:default} {{name=Skill roll for @{selected|character_name}}}{{?{Skill| Athletics, Athletics= [[[[ (@{selected|body} + @{selected|athletics})]]d6s>4]] Successes| Brawl, Brawl= [[[[ (@{selected|body} + @{selected|brawl})]]d6s>4]] Successes| Force, Force= [[[[ (@{selected|body} + @{selected|force})]]d6s>4]] Successes| Melee, Melee= [[[[ (@{selected|body} + @{selected|melee})]]d6s>4]]| Stamina, Stamina= [[[[ (@{selected|body} + @{selected|stamina})]]d6s>4]] Successes| Toughness, Toughness= [[[[ (@{selected|body} + @{selected|toughness})]]d6s>4]] Successes}}} Also as a guide, when there's something duplicated on every 'row' of the query, you can move that outside of the query, like so &{template:default} {{name=Skill roll for @{selected|character_name}}}{{?{Skill| Athletics,Athletics= [[[[ (@{selected|body} + @{selected|athletics}| Brawl,Brawl= [[[[ (@{selected|body} + @{selected|brawl}| Force,Force= [[[[ (@{selected|body} + @{selected|force}| Melee,Melee= [[[[ (@{selected|body} + @{selected|melee}| Stamina,Stamina= [[[[ (@{selected|body} + @{selected|stamina}| Toughness,Toughness= [[[[ (@{selected|body} + @{selected|toughness} } )]]d6s>4]] Successes}} Also, you can use spaces liberally to help make the code more readable, so i added a couple on the last row, so it's easier to see the end of the query. But I removed the spaces after the comma on each row of the comma inside the query. That's because everything after the comma is printed, so after you select a skill, you'd actually have &{template:default} {{name=Skill roll for @{selected|character_name}}}{{ Athletics= instead of &{template:default} {{name=Skill roll for @{selected|character_name}}}{{Athletics= This doesnt make much difference, it's just neater I think.