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

Smart AoE multiple saves possible

Is it possible to have the same token make multiple saves? Then apply different effects (status markers or damage on the same triggering event? Thanks, Chris
1655596084
David M.
Pro
API Scripter
No, sorry only a single save per trigger event is supported at this time. If you need more complex logic then maybe a scriptcard (using an information request for number of targets) might be the best solution for your application. SmartAoE could still be used for targeting visualization in this case, with the scriptcard macro added as an ability on a custom aoe control token. If you describe your specific situation / spell mechanic, I might be able to help figure something out. 
So we are using spheres of power. One of my players commonly uses darkness with grasping (reflex save or be entangled) and lethargy (will save or be staggered) combined into the same spell. I am new to API struggling with how it opperates. Thanks!
1655656216
David M.
Pro
API Scripter
Ok looking into this more, I Googled Spheres of Power - looks like a PF alternate spell system. If I'm reading it correctly the thing that is going to be problematic is that they can apply one or more spell add-ons at will, mixing and matching the number of saves required for a given instance. There also seems to be an absolute crap ton of options available. This is going to make complete automation difficult while still remaining flexible.  What sheet are you using? If your sheet is supported by it, I'm thinking your best bet for an out of the box solution might be to just use the GroupCheck / ApplyDamage  scripts (Forum thread links are in the wiki). Looks like GroupCheck supports PF-community and PF-Official ( though not sure about PF2 if that's what you are using ). You'd need to have distinct GroupCheck macros for each of the add-on options. So, saves would be made by all tokens at once, but you'd need multiple instances of it. That way your player can mix/match the powers as needed on the fly. According to the documentation, ApplyDamage can apply status markers as well (so you should be able to apply 0 damage and a status marker for example).   If your sheet is not supported by GroupCheck, I think I have most of GroupCheck behavior (including statusmarkers) simulated in Scriptcards that could be modified for your sheet. Still messing with the html output, though, so let me know and I could accelerate this work.