PDA

View Full Version : buff that adds damage syntax question



Shinrei123
April 22nd, 2021, 11:57
Hi all

For a eldrith archer build I'd like to create an effect where you simulate Eldritch Shot.
The current way I do things is roll the spell damage afterwards and add it but this causes some issues with resistances, crits, etc.

As such I wanted to create an effect that allows me roll damage together with my strike. At this moment for Telekinetic Projectile I use DMG: 3d6 bludgeoning + INT set to self, action for 1 round.
This works but isn't future proof as when I'll reach higher levels the damage dice will increase. And manually adjusting all lines of code is not surmountable but I'd prefer a more elegant way.

I know that if you work from the damage effect in spells you can set things to odd levels but i did not find this in text form in the wikki.
Is anyone able to help with this of should I just prepare myself to adjust it in the future.

Trenloe
April 22nd, 2021, 14:28
Some information here: https://www.fantasygrounds.com/forums/showthread.php?67698-How-to-create-a-pathfinder-2-Bard-in-FGU&p=595287&viewfull=1#post595287

And the rest of the thread has some further information.

Shinrei123
April 22nd, 2021, 14:44
Hi Trenloe

Indeed I have found this and have set this up as such in the cantrip spell (for when I cast the cantrip on its own).
However when setting up a spell action you get four choices: cast, damage, heal and effect. How to set up damage is clear. the purpose for this choice is do deal direct damage (this is the method described in the thread). However the setup I'd like to do is create an effect that adds damage to a strike. Actual example: I'd like to add the damage of telekinetic strike to my longbow strike (eldrith shot casting telekinetic strike with the longbow).
In my mind it would be an effect with following syntax: "DMG: ODDLVL d6 bludgeoning + int" but this doesn't work. I know HLVL (half level) exists and I was hoping something similar would exist for odd lvl.

bmos
April 22nd, 2021, 14:51
Hi Trenloe

Indeed I have found this and have set this up as such in the cantrip spell (for when I cast the cantrip on its own).
However when setting up a spell action you get four choices: cast, damage, heal and effect. How to set up damage is clear. the purpose for this choice is do deal direct damage (this is the method described in the thread). However the setup I'd like to do is create an effect that adds damage to a strike. Actual example: I'd like to add the damage of telekinetic strike to my longbow strike (eldrith shot casting telekinetic strike with the longbow).
In my mind it would be an effect with following syntax: "DMG: ODDLVL d6 bludgeoning + int" but this doesn't work. I know HLVL (half level) exists and I was hoping something similar would exist for odd lvl.Unfortunately you can't (afaik) combine the variable effects with dice. Meaning no "[HLVL]d6" only Xd6 or [HLVL]. There is also [TLVL] for 1/3 level, and [QLVL] for 1/4 level. You can also combine constants with the variables. like "1 [HLVL]" for "half the level + 1".

Shinrei123
April 22nd, 2021, 14:59
Hi Bmos

Thank you for the additional info! I didn't know the variable effects are incompatible with dice.
I'll just have to write the number of dice and update as I go. Thank you all for the help!

Trenloe
April 22nd, 2021, 15:10
There is also [TLVL] for 1/3 level, and [QLVL] for 1/4 level.
Not in the PF2 ruleset.

Trenloe
April 22nd, 2021, 15:59
What's possible in effects is being expanded in Release 18, and in future release. But there's still limitations in what can be done, and dice aren't currently included in dynamic effect variables as the structure doesn't support it. But it will, hopefully, have that in future.

bmos
April 22nd, 2021, 16:24
Not in the PF2 ruleset.ah, I had assumed it would be based on Moon Wizard's comment:

the biggest issue was adding it to the half dozen other rulesets using similar code/logicbut I guess PFRPG2 didn't get it added. thanks for the correction.

Trenloe
April 22nd, 2021, 16:41
We're looking into a more flexible way of doing dynamic variables.