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 .
×

[PF] Damage Macro on Pathfinder Character sheet

I've been looking around in a few different places and can't find what I'm looking for. I was hoping to find a Macro to add to the damage section of a spell that was 1d6 + 1d6 for every two levels beyond level 1.
1491504473

Edited 1491504657
Ricky M. said: 1d6 + 1d6 for every two levels beyond level 1. Sounds like ((@{relevant_level_attribute}) / 2)d6 might work (after replacing the Attribute name, of course).
1491516582

Edited 1491516617
Tetsuo
Forum Champion
Silvyre said: Ricky M. said: 1d6 + 1d6 for every two levels beyond level 1. Sounds like ((@{relevant_level_attribute}) / 2)d6 might work (after replacing the Attribute name, of course). That would come out as 2 at level 4, 3 at level 6, etc. 1 + 1 per 2 should be 1 at 1, 2 at 3, 3 at 5 etc. try [[floor((@{level}+1)/2)]]d6 which comes out to 1 at level 1, 2 at level 3, etc.
Franky H. said: Silvyre said: Ricky M. said: 1d6 + 1d6 for every two levels beyond level 1. Sounds like ((@{relevant_level_attribute}) / 2)d6 might work (after replacing the Attribute name, of course). 1 + 1 per 2 should be 1 at 1, 2 at 3, 3 at 5 etc. Actually, that is how round((@{relevant_level_attribute}) / 2) functions: @{relevant_level_attribute} round((@{relevant_level_attribute}) / 2) 1 1 2 1 3 2 4 2 5 3 6 3 7 4 8 4 9 5 10 5 ()d6 implicitly functions as [[round()]]d6
1491524895
Tetsuo
Forum Champion
Silvyre said: ()d6 implicitly functions as [[round()]]d6 I was unaware of that. Brb, removing my foot from my mouth xD
Franky H. said: Silvyre said: ()d6 implicitly functions as [[round()]]d6 I was unaware of that. Couldn't find it documented in the Wiki, so added it here .