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 .
×
🍵 What is a cleric’s favorite hot drink? Divini-tea. 🍵
Create a free account

Previously Working Command no longer Processing

i Had made a code set up for my attributes for calculating status effects for a D&D set up it was working fine for a long Time on all my monsters and i haven't changed anything. but now when i use those same skills it wont even process at all, not even a warning message that my calculations are off. it just keeps saying select target. also all my other select target skills are still functioning. /roll (1d20-[DC] + @{target|[Save type]} + @{target|[Stat Type]} + @{target|Resist [Type]}) * (2 * @{target|Weak [Type]}) [Status Type] (((This is the formula Build) /roll (1d20-14 + @{target|Fortitude} + @{target|Con} + @{target|Resist Poison}) * (2 * @{target|Weak Poison}) Poison Chance (((This was a Function macro until now))) You need the following attributes in each of the target selections Resist Can = 0 or any number and it is meant to reduce the chances the status effect will proc. Weak Is used as a multiplier or immunity set up Using 0 in the equation will reduce the equation to 0 for no effect. while a 1 will multiply the equation by 2 or a .25 will reduce the equation by 50%. and if left blank it would remove it from the equation and skip it giving me the end results. Has anyone else had problems with there formulas no longer working and is there a solution or must i wait a while. i would really like to get back to setting up my campaign.
1395204741
Lithl
Pro
Sheet Author
API Scripter
Sanity check: You are in fact clicking on a token, and that token is set to represent a character with the desired attributes?
Yes i have made sure all tokens have the same attributes and i test them on other tokens. this formula was working before hand and now it wont process at all nothing not a thing driving me nuts i've reloaded the interface and still nothing.
1395221405
Gauss
Forum Champion
Send me a join link and I will come take a look.
Sent you a message with the link
Well Sadly no one has replied since then and i waited for hours but sadly Gauss must have become over whelmed with other things. i still need help with this problem
1395351738
Gauss
Forum Champion
Middle of the week is where I am often quite busy. I have responded in PM. :)
1395356601

Edited 1395356799
Gauss
Forum Champion
The problem was probably a space in some of the attributes. Other Abilities were also not working due to the double negative bug. Marc had several attributes with a negative value and they were being subtracted in the macros (double negative). The solution to the first was placing a zero value in the attribute. The solution to the second was putting parenthesis around the negative attributes such as (-1).