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

Cannot seem to get min 1

1485085783
Matthew C
Pro
Sheet Author
This is my current macro ((((@{Manifestations_Slot1_MAttack} - @{Manifestations_Slot1_LAttack}) + 1) - abs((@{Manifestations_Slot1_MAttack} + @{Manifestations_Slot1_LAttack})) - 1) / 2) MAttack is a number of 1-10 LAttack is a number of 1-3 But as far as I know they do not matter. But what I want is for the macro to show MAttack-LAttack, but it cannot go under 1....Any help would be great, these math situations are confusing :p
1485087991
Andrew C
Marketplace Creator
Keep Highest function from the Wiki. Can't find the link quickly on my phone.
1485090434
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I got you: <a href="https://wiki.roll20.net/Dice_Reference#Drop.2FKeep" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Drop.2FKeep</a>
1485090720
Matthew C
Pro
Sheet Author
Yup thanks guys...took some work after finding it because it is a little more complex than 1 stat versus 1 number...but I got it thanks to you guys :D