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

[API Question]

Has anyone run Psionic characters in a campaign that uses an API script to streamline combat? If so, how do you handle Power Points (do you set it up as an attribute like your modifiers and defenses, do you use one of your bars to track them)? Also, what kind of coding do you use to subtract spent Power Points when you Augment things? Finally, how do you set up your Macros to deal with augmentable powers? (Do you set up several for each power, or one that has a way to differentiate between several augment levels?)
1390345308
Gauss
Forum Champion
For something like power points I would use a bar. When I burn points I would just subtract them from the bar (If I have 20 points and use 3 I would type -3 in the bar and it would then give me 17). For macros you can use queries to deal with augmentable powers. Example: if a power's damage dice is a variable I could put in: /r ?{damage dice|1}d6
hm, that's something I didn't think about doing. I wonder if there's a way to have API script automatically deduct power points from a bar and put that into the macro.. Is there any coding mentoring, or tutoring, or any advice, going on here at all? I don't really know anything about it, but I'd love to learn.
1390358519
Gauss
Forum Champion
Yes, I believe there is an API script somewhere out there that deducts things. I have moved this thread to the API forum where you should get more API assistance.
Thanks Gauss! You're awesome :)