PDA

View Full Version : BUG: -[PRF] is not being calculated



stoehovve
January 24th, 2021, 23:21
Hi Everyone,

I was running through the some of the optional features for the fighter class that came through with Tasha's Cauldron of Everything module, and preparing tutorials on how to setup some of the features within a characters actions tab and ran into an interesting problem:

I was attempting to create an effect for one of the new Fighting Styles called Interception, and my first reaction was to do something like this:

Fighting Style (Interception); DMG: -1d10-[PRF]

The intent was to apply the -1d10 die roll and mix in the value of the proficiency bonus to ensure it was also subtracted from the overall total.

However, when I did that, I got the following result when the effect was applied:

43199

I then modified the effect to do something like this:

Fighting Style (Interception); DMG: -1d10; DMG: -[PRF]

Which gave me this as the result:

43200

This had me confused, so I continued to play around with this.

Eventually, I ended up with this:

DMG: -[PRF]

43201

To help narrow down if it was simply a miss-parsing of the description, or something else, and that still failed to parse out the [PRF] value and apply a -6 result which is what I was expecting to see (Level 20 fighter was my example character for the tutorial).

To keep the tutorial moving, I simply replaced it with:

DMG: -6

And that seems to have solved my issue for now, but according to the effects guide I should be able to prefix any of the [xxxxxxx] tags with the - and have that parse out to get the results, if I remove the "-" character from the effect, the [PRF] tag properly functions and I get a +6 as the result value.

43202

Moon Wizard
January 24th, 2021, 23:40
Did you try it with the minus sign inside the tag? (i.e. [-PRF])

Regards,
JPG

Zacchaeus
January 25th, 2021, 00:34
See the section on modifiers on the wiki https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/996642031/5E+Effects+for+Advanced+Automation#Modifiers

As Moon Wizard says the minus needs to be inside the square brackets.

stoehovve
January 25th, 2021, 21:59
Hi Moon Wizard and Zacchaeus,

My Apologies, you are correct it is working, but I might suggest that someone is not always going to look at that Advanced Automation wiki if they are focusing on the effects, they might miss that. It might be useful to have a small blurb on the effects portion of the wiki to point that out there as well.

Zacchaeus
January 25th, 2021, 23:15
There is only one section of the 5e wiki on effects so I’m not sure where else you are suggesting that details on 5e effects should go.