View Single Post
gauldin
Member
 
Join Date: Sep 2013
Location: Raleigh, NC
Posts: 43

Old May 1st, 2015, 01:29 PM
I'm attempting to add a version of the "Daring" Rogue Talent as a Custom Ability (I only have the core PF package). The only problem I'm having is trying to get it to display the +n bonus to Will saves vs Fear. I tried copying the code from the Bravery ability, and which gave me this eval script at Render 1000:
field[livename].text = "Daring +" & field[abValue].value
field[abSumm].text = signed(field[abValue].value) & " to Will save vs. Fear"

~only perform the calculations for the first copy
doneif (tagis[Helper.FirstCopy] = 0)

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

doneif (tagis[Helper.SpcDisable] <> 0)


#situational[hero.child[svWill], signed(field[abValue].value) & " vs. fear",field[thingname].text]
(I'd already computed field[abValue].value at the Post-levels stage).

However, this generates the error "Attempt to access filed 'listname' that does not exist for thing 'cMGDaring'".

Any pointers as to where I'm going off the rails?
gauldin is offline   #1 Reply With Quote