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

Macros for Bloodbowl

Hi, I am trying to make a Bloodbowl game using Roll20. So I am trying to figure how to have the drop down menu ask for the type of pass made and also the # of enemies in the block zone...  ?{Pass|    QuickPass, **QuickPass**  [[1d6+1]]  |     ShortPass, **ShortPass**  [[1d6]]  |     LongPass, **LongPass**  [[1d6-1]]  |     LongBomb, **LongBomb**  [[1d6-2]] } ?{Opposing players in tackle zone|0} What I would like to have is the value from the Opposing players be subtracted in the pass roll. Unfortunately if I embed the ?opposing players into the formula the drop down no longer works and I am unsure how to assign a value to this. From what I have read so far it does not appear you can have a drop down with a variable value .... 
1588145908
Ziechael
Forum Champion
Sheet Author
API Scripter
It is doable but you get into the realms of html character replacement for a nested query : ?{Pass|    QuickPass, **QuickPass**  [[1d6+1 - ?{Opposing players in tackle zone|0}]]  |     ShortPass, **ShortPass**  [[1d6 - ?{Opposing players in tackle zone|0}]] |     LongPass, **LongPass**  [[1d6-1 - ?{Opposing players in tackle zone|0}]]  |     LongBomb, **LongBomb**  [[1d6-2 - ?{Opposing players in tackle zone|0}]] } However as a universal variable you can exclude it from the initial query to avoid html: ?{Pass|    QuickPass, **QuickPass**  [[1d6+1|     ShortPass, **ShortPass**  [[1d6|     LongPass, **LongPass**  [[1d6-1|     LongBomb, **LongBomb**  [[1d6-2} - ?{Opposing players in tackle zone|0} ]]
Wow thanks for the super fast response. Both worked exactly how I would like. Thanks again!
1588235641

Edited 1588235706
Ziechael
Forum Champion
Sheet Author
API Scripter
Happy to help, now I'm wondering how easy a character/roster sheet for Blood Bowl would be to make.... hmmmm....
I was going to eventually tackle the team options so I can create teams and have a league going.... eventually....  I am really astounded by how easy (with help!!) this was to get going....   So far I have entered Humans, Orcs, and Skavens... and now that I have discovered the "duplicate" button this will be A LOT faster next time.