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

Need Help Making a Burst Attack Button - Fallout V&D

1713193210
Skyeris
Pro
Sheet Author
On the Fallout V&D sheet, we've been wanting to add a button for Burst Attack but we could never figure out how to utilize one dice roll for the each penalty. The way the rule works is you decide which Burst to do. You roll the d100 for the Attack Roll once and compare it to the penalties to see if you hit. Depending on the Burst, you apply the highest penalty to see if it hits. After determining if hits, you'd check the penalty under it to see if that hits or misses. You compare one Attack Roll with each penalty and each penalty is a hit. You then roll the damage once and apply that damage for each hit. If anyone has done something that one Attack Roll can be utilized for multiple penalties that would be appreciated.
1713203502

Edited 1713203525
Gauss
Forum Champion
Hi Skyeris,  To clarify, are you coding a sheet or trying to make a macro for this? 
1713209334
Skyeris
Pro
Sheet Author
Gauss said: Hi Skyeris,  To clarify, are you coding a sheet or trying to make a macro for this?  Trying to code a sheet. But technically speaking, if it can be made in a macro it could work for the sheet.
1713222847

Edited 1713223138
Gauss
Forum Champion
Yes a macro can do something like this:  [[[[[[[[[[1d100]]-20]]-20]]-20]]-20]]  Then in your table you have:  for 1d100: $[[0]] For 1d100-20: $[[1]] for 1d100-40: $[[2]] for 1d100-60: $[[3]] for 1d100-80: $[[4]] Here is a macro proof of concept:  &{template:default} {{name=Attacks}} [[[[[[[[[[1d100]]-20]]-20]]-20]]-20]] {{Table= $[[0]]  $[[1]] | 2 hits | 2 ammo $[[2]] | 1 hit | 6 ammo $[[3]] | 1 hit | 9 ammo $[[4]] | 1 hit | 12 ammo}} Note: I am not entirely clear how your hit system works. And there is probably a character sheet solution that is better than the macro solution, but I am not a character sheet coder.
1713366384
Skyeris
Pro
Sheet Author
This has been extremely helpful. We were able to figure out how to make it a button on the sheet. Thank you very much!