Thread: 5e Dark Sun
View Single Post
Provos
Senior Member
 
Join Date: Mar 2011
Location: USA
Posts: 383

Old February 9th, 2023, 03:59 PM
I am trying to adapt the eval script for my Psi Point adjustment which I have put in the In Play tab tracker area. My tracker is named trkPsiPnt and I need to edit the trkMax value.

I found an adjustment that changes Ability: User/Period. I am not sure how to adjust this to make it work for me.

Code:
 ~ If we're not enabled, get out now
      doneif (field[pIsOn].value = 0)
      ~ If nothing chosen, get out now
      doneif (field[pChosen].ischosen = 0)

      ~ Adjust the tracker Max Value up or down
      field[pChosen].chosen.field[trkMax].value += field[pAdjust].value
Attached Images
File Type: jpg Psi Tracker Debug Screen.jpg (114.3 KB, 2 views)
Provos is offline   #20 Reply With Quote