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

Set Macro's for Minimum Successes in a Whitewolf Game

How can i set a minimum number of Successes for a die-roll in a Macro. i've been trying to find it in the Roll20 Wiki but so far i haven't been able to find it. I'm Doing an Aberrant game which uses a Penalty to the number of successes rolled. this means that the success result can drop below 0, but i need 0 to be the Bottom. This is an example of the Macro i got so far; [[(@{Dice}d10>7!)-2]] Successes
1413982405
Tom
Plus
Sheet Author
Can the player enter it? If so, this should work: [[(@{Dice}d10>7!)-2]] v ?{Required Successes|0} successes but you're probably just as well off leaving that out of the equation and just making the call as the GM.
Sry - this is not what im looking for - i want to use as a Token Action
1413992593
Pat S.
Forum Champion
Sheet Author
You can just checkmark the macros to be a token action and when you have the token linked to the sheet, it will show up everytime you select the token.
1413999133

Edited 1413999268
4sure, but Tom's method doesn't work as i need it too. let me explain; in the aberrant system a standard roll only requires 1 success, but as the difficulty increases more are needed; a +1 difficulty action needs 2 successes and a +2 difficulty action needs 3 Successes. Since the difficulty needs to be subtracted from the total number of successes after the roll to determine the margin of success (the actual number of achieved successes), Therefore i incorporated the difficulty as a reduction to the total number of successes that are obtained (which you can see in macro as -2), when the Token Action button for that difficulty is clicked (+4 Difficulty is the maximum in the Aberrant Game so i made 5 token action buttons, 1 for each level of difficulty). [[(@{Dice}d10>7!)-2]] Successes furthermore, tom's addition can still result in a negative number of successes, but i need the result to show 0 when a negative number of successes is rolled.
1414001642
Lithl
Pro
Sheet Author
API Scripter
[[{@{Dice}d10>7! - ?{Difficulty|2}, 0d1>7}kh1]] This lets you have just one macro where you can set the difficulty each time you roll it, and if the number of successes (minus the roll's difficulty) is less than the number of successes in 0d1>7 (which will always be 0), 0 is used for the final result instead.