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 .
×
May your rolls be chill this holiday season!
Create a free account

Pathfinder 2e Form spells

I've been trying to implement a macro, more likely a series of macros, to attack while using the various form spells (animal, insect, dinosaur, and elemental currently) at the various levels those spells can be heightened to.  I'm thinking of using the menu button approach as there are a lot of variables to consider: type of form, particular form from the type, and level of spell.  This is what I'm thinking for the menu structure: Forms --> Animal, Insect, Dinosaur, Elemental --> {Animal forms} -OR- {Insect forms} -OR- {Dinosaur forms} -OR- {Elemental forms} Once the specific form is chosen, I plan to prompt for level of spell and attack number (for MAP) to do the final calculations.  Where I'm running into an issue is that I want to prompt for level once and use that choice for further calculations.  For example, if I use this for attacks for the animal form bonus part: ?{Level|2,9|3,14|4,16|5,18}  Every time I reference ?{Level} later, I'll get the second value, not the level I picked.  Using ?{Level|2|3|4|5} gives me the level, but I haven't found a way to use that value to determine a different value.  Can that value be used later to make a choice? In case it matters, I'm not a Pro member and not a GM on the game I'm creating this for.  If there's a better approach, I'd welcome any advice on how to make it better or more efficient.
1602373250

Edited 1602373759
Oosh
Sheet Author
API Scripter
You can do math later via inline rolls on a Query selection. For example: &{template:default} {{name=?{Spell|Fireball} spellcast}} {{@{selected|character_name} casts a spell!=Base spell level ?{Level|1}}} ?{Metamagic?| Heighten,{{@{selected|character_name} Heightens ?{Spell}=level increased to [[?{Level}+2]]| Quicken,{{@{selected|character_name} Quickens ?{Spell}=level increased to [[?{Level}+4]]}!}} I can't remember PF rules that well, that's just some made up stuff. But using inline roll brackets you can keep operating on the Query inputs to get what you need - just watch out for using closing curlies } inside a Query - as you can see in the example above, you need to use the HTML entity for the ?{Query} closing curlies, but not @{Attribute calls}. I think you'll have to use a second Query in your case though. That ?{Level|2,9|3,14|4,16|5,18} is a horrible progression, I can't see a formula deriving those values.
1602429086

Edited 1602429129
Thank, Oosh.  Yeah, that progression doesn't seem to lend itself easily to a mathematical formula.  Same with the damage (+1, +5, +9, +7).  Parts of it do, but one number sticks out.