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

Adding Rolls Together After the Fact

1494098306

Edited 1494098488
So, I'm running a medieval Cortex campaign and realized that there isn't a good character sheet available for what I want. I opted to use the Attributes and Abilities as a work around for a character sheet, and it has been very successful, with one exception... I'm basically using a drop down list macro to keep my players from having to create an obscene amount of macros (if you have played cortex, rolls change constantly depending on the scenario). The player first chooses an Attribute to roll from the first drop down list, then a Skill to roll using the second drop down list. Both the Attribute and Skill roll and display normally, but I would like to add a "Total" to the macro, without removing the previous two displayed rolls. Here is what I have set up: &{template:default} {{name=@{name}'s Attribute + Skill Roll}} {{Attribute=?{Attribute|Agility, **Agility** [[@{Agility}]]|Strength, Strength [[@{Strength}]]|Vitality, **Vitality** [[@{Vitality}]]|Alertness, **Alertness** [[@{Alertness}]]|Intelligence, **Intelligence** [[@{Intelligence}]]|Willpower, **Willpower** [[@{Willpower}]]}}} //Note that there isn't a break here, I just split the attributes and skills up to make this easier to read// {{Skill=?{Skill|Animals, **Animals** [[@{Animals}]]|Artistry, Artistry [[@{Artistry}]]|Athletics, **Athletics** [[@{Athletics}]]|Covert, **Covert** [[@{Covert}]]|Craft, **Craft** [[@{Craft}]]|Discipline, **Discipline** [[@{Discipline}]]|Influence, **Influence** [[@{Influence}]]|Knowledge, **Knowledge** [[@{Knowledge}]]|Tinkering, **Tinkering** [[@{Tinkering}]]|Medicine, **Medicine** [[@{Medicine}]]|Melee Weapons, **Melee Weapons** [[@{Melee Weapons}]]|Perception, **Perception** [[@{Perception}]]|Performance, **Performance** [[@{Performance}]]|Ranged Weapons, **Ranged Weapons** [[@{Ranged Weapons}]]|Ride, **Ride** [[@{Ride}]]|Siege Weapons, **Siege Weapons** [[@{Siege Weapons}]]|Survival, **Survival** [[@{Survival}]]|Unarmed Combat, **Unarmed Combat** [[@{Unarmed Combat}]]}}} So how do I get a 3rd item to display "Total (total)"?
You really can't. Unless you use an API script.
Try this out: &{template:default} {{name=@{name}'s Attribute + Skill Roll }} {{Attribute=**?{Attribute|    Agility, [Agility](@{Agility}) |    Strength, [Strength](@{Strength}) |    Vitality, [Vitality](@{Vitality}) |    Alertness, [Alertness](@{Alertness}) |    Intelligence, [Intelligence](@{Intelligence}) |    Willpower, [Willpower](@{Willpower}) }** }} {{Skill=**?{Skill|    Animals, [Animals](@{Animals}) |    Artistry, [Artistry](@{Artistry}) |    Athletics, [Athletics](@{Athletics}) |    Covert, [Covert](@{Covert}) |    Craft, [Craft](@{Craft}) |    Discipline, [Discipline](@{Discipline}) |    Influence, [Influence](@{Influence}) |    Knowledge, [Knowledge](@{Knowledge}) |    Tinkering, [Tinkering](@{Tinkering}) |    Medicine, [Medicine](@{Medicine}) |    Melee Weapons, [Melee Weapons](@{Melee Weapons}) |    Perception, [Perception](@{Perception}) |    Performance, [Performance](@{Performance}) |    Ranged Weapons, [Ranged Weapons](@{Ranged Weapons}) |    Ride, [Ride](@{Ride}) |    Siege Weapons, [Siege Weapons](@{Siege Weapons}) |    Survival, [Survival](@{Survival}) |    Unarmed Combat, [Unarmed Combat](@{Unarmed Combat}) }** }} {{Total=[[ ?{Attribute} + ?{Skill} + {0} ]] }}
That does work, but it removes the individual rolls from being displayed next to the Attribute and Skill names.
How about this? &{template:default} {{name=@{name}'s Attribute + Skill Roll }} {{Attribute=**?{Attribute|    Agility, [Agility](@{Agility}) |    Strength, [Strength](@{Strength}) |    Vitality, [Vitality](@{Vitality}) |    Alertness, [Alertness](@{Alertness}) |    Intelligence, [Intelligence](@{Intelligence}) |    Willpower, [Willpower](@{Willpower}) }** [[ ?{Attribute} + {0} ]] }} {{Skill=**?{Skill|    Animals, [Animals](@{Animals}) |    Artistry, [Artistry](@{Artistry}) |    Athletics, [Athletics](@{Athletics}) |    Covert, [Covert](@{Covert}) |    Craft, [Craft](@{Craft}) |    Discipline, [Discipline](@{Discipline}) |    Influence, [Influence](@{Influence}) |    Knowledge, [Knowledge](@{Knowledge}) |    Tinkering, [Tinkering](@{Tinkering}) |    Medicine, [Medicine](@{Medicine}) |    Melee Weapons, [Melee Weapons](@{Melee Weapons}) |    Perception, [Perception](@{Perception}) |    Performance, [Performance](@{Performance}) |    Ranged Weapons, [Ranged Weapons](@{Ranged Weapons}) |    Ride, [Ride](@{Ride}) |    Siege Weapons, [Siege Weapons](@{Siege Weapons}) |    Survival, [Survival](@{Survival}) |    Unarmed Combat, [Unarmed Combat](@{Unarmed Combat}) }** [[ ?{Skill} + {0} ]] }} {{Total=[[ ?{Attribute} + ?{Skill} + {0} ]] }}
That's it! Awesome, thank you so much! I'm pretty sure you just convinced me to get a pro subscription!
Cheers! Happy rolling!