
Working on a character sheet for a game that has you roll x number of dice equal to your attribute plus your skill, ie 4 in strength and 2 in carry would roll 6 dice. However if the character suffers from a condition they would drop a dice from their pool for each condition that they had until the final condition that makes them automatically fail the challenge. Currently I have this setup for a roll macro on the sheet <td class="attr-roll" ><button type='roll' value='&{template:default} {name=Sneak}} {{sneak= [[@{body}d6 + @{sneak}d6]] }}' /></td> How would I implement a check to see if the character is affected by any conditions which are check mark boxes on the sheet and then remove the number of dice equal to the current number of conditions or automatically roll a fail if the final condition is applied to the character? I'm extremely new to this and figuring it out as I go so please help me understand :) *Last min edit: If there's a way to prevent the final condition box from being checked until all of the other conditions are checked as well that'd be helpful!