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

[Script] UsePower -- Use tracking and flagging of Encounter and Daily Powers.

1420562200
The Aaron
Pro
API Scripter
Hmm. I haven't added quantity tracking to this script, but there are some things you can do, I think. I know some people use the ammo script for that. I should get off my lazy butt and finish this one...
Aside from the quantity tracker, is there any way to set this up so that you can restore the usage of each power on an individual basis? I ask because I'm trying to set up a way to use the D&D 3.5 book Tome of Battle. It gives you a bunch of per-encounter abilities, but each class has a way to regain the usage of one or more mid-combat (worse yet, one regains a random one each turn). So for example, a character may have used up the powers called Burning Blade and Shadow Strike , and when they trigger the recharge ability, they can choose one of them to regain the use of, but not the other (this being in addition to it recharging at the end of each encounter).
1420566422
The Aaron
Pro
API Scripter
This script just turns off the is Token Action setting on the ability, so you can turn it back on to restore it. I could add a command for restoring a specific ability, but probably the interface would be worse than going into the sheet and turning it back on. Let me know if you want to pursue that option and I'll see what I can do.
Oh, so it does. Yeah, it's probably easier just to go into the sheet. Besides, it would waste less of your precious time that way. Thanks!
1422248820
Gen Kitty
Forum Champion
Your huge list o' scripts reminded me I wanted to try this out. ^_^
1422250151
The Aaron
Pro
API Scripter
I still need to give it good support for multi-use powers.