You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you adjust the amount of the linked ammo resource, it does not adjust the total weight for the character.
Also, if you set the weight of the ammo to something less than 1, like .5, weight calculations will fail after you adjust the amount of ammo. For example: create a set of 20 arrows and link them to a bow with a weight of .05 each (per PHB). Fire one arrow, and it correctly subtracts the weight. Now add the arrow back by changing the quantity from 19 to 20. Fire again, and it will subtract the ammo but not the total weight for the character.
The text was updated successfully, but these errors were encountered:
What script are you using that has this bug? I'm guessing the OGL 5e Companion script, but I could see it being the 5e Shaped Companion script or the general purpose Ammo script.
All theese bugs appear to be fixed in the newest edition of the "5th Edition OGL by Roll20 Companion". Although looking trough the code I did manage to find a small bug with the weight where multiple ammo cunsumptions did NOT remove the correct weight. I have though added a pull-request with a fix to this small bug.
If you adjust the amount of the linked ammo resource, it does not adjust the total weight for the character.
Also, if you set the weight of the ammo to something less than 1, like .5, weight calculations will fail after you adjust the amount of ammo. For example: create a set of 20 arrows and link them to a bow with a weight of .05 each (per PHB). Fire one arrow, and it correctly subtracts the weight. Now add the arrow back by changing the quantity from 19 to 20. Fire again, and it will subtract the ammo but not the total weight for the character.
The text was updated successfully, but these errors were encountered: