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

I look for a way to change and than reuse a Value entered by a Rolls Query = Help wanted for an ability check macro for the black Eye

I am trying to set up a macro for ability checks for the Dark Eye/ Black Eye. In the Black Eye you roll 3 D20, compare them to 3 fixed values and if you are over these Values, you can use your rank in the ability to decrease what you rolled. At he Moment I use a macro like this: Test /roll {@{selected|Klugheit}-1d20+?{Modifikator1}}>0 /roll {@{selected|Körperkraft}-1d20+?{Modifikator1}}>0 /roll {@{selected|Mut}-1d20+?{Modifikator1}}>0 TaP* ?{Modifikator1} It shows the name of the ability used, it fetches the attributes from the selected token/charakter and the Rank in the ability (-/+ boni/mali) can be entered manually. It also checks if the ability ranking points are exceeded. And than it puts out the Ranking points. My problem is, that the rank in the ability can/ has to be used to reduce all 3 Rolls. That means If I have attributes of 14|14|14, a Rank of 6 and I roll 19|19|19 I have to use 5 point of my rank on the first roll and than I only have 1 ranking point left for the remaining two rolls. I search for three things. a) a way to automatically only use the ability Rank (Modifikator1) if the attribute - the roll is under 0 (<0) b) a way to automatically set a new Modifikator2 (or Modifikator3 orModifikator4) containing the unused points of the ability Rank c) an automatic way to check if the Ranking points dropp under 0 Thank you very much for your help
1425895792
Ziechael
Forum Champion
Sheet Author
API Scripter
I think the key word here is 'automatically', to achieve anything like that you are probably looking at needing the API (a mentor level feature) which can store variables for later use. As macros are essentially one shot only you wouldn't be able to automatically do roll after roll after roll. The only way i can see would require some manual math: /roll {@{selected|Klugheit}-1d20+?{Modifikator1}}>0 /roll {@{selected|Körperkraft}-1d20+?{Modifikator2}}>0 /roll {@{selected|Mut}-1d20+?{Modifikator3}}>0 Using Modifikator1, 2 and 3 you can set different query results for each so if you had 6 in 1 but only 3 in 2 you could manually amend them as the rolls occur to ensure it was done right. It would be up to the player to make sure they didn't go below 0 using macro's/manual queries. API could probably do everything you want, and then some but like i say that is a mentor level feature. If anyone knows better i'm sure they'll be along shortly :)
Hm, so the way to get it is to subscribe to mentor level and then ask the same question in the API subboard? If I do and I create Charackter Sheet using the API that does that, could than normal Users use this funktion too or only Users using the Character Sheet whom are Mentors, too?
1425943321

Edited 1425943341
Pat S.
Forum Champion
Sheet Author
Florian, you can ask as a roll20 member in the API. The posting of the question does not require mentor level subscription. You could ask in the character sheet forum also. Just asking the question does not require a subscription. We have many people ask about that stuff then decide later on to buy a subscription. It takes a mentor subscription to create a custom sheet in their owned campaign or use the API script (usually that is the GM). The rest of the campaign members do not need to be subscribers to use it.
This question comes up every now and then. A quick search for "schwarze auge" should turn up some more info for you. As I recall, the simple solution was to handle all three rolls in one line, subtracting from the relevant stat. I think there was also a character sheet in the works, although I don't know if it was ever published for non-mentor use.