![]() |
Senior Member
Join Date: Sep 2017
Posts: 566
|
Is it always modifying trkPsiPnt? If so, then you don't need any of the pChosen stuff; that's only if the adjustment can pick from a list of things (like if your adjustment can choose whether to modify your choice of Strength, Dexterity, Con, etc.)
So if the adjustment is always modifying the same thing (trkPsiPnt), then it should go like this: Code:
~ If this adjustment isn't enabled, get out now doneif (field[pIsOn].value = 0) ~ Adjust the Psi Point tracker Max Value up or down hero.childfound[trkPsiPnt].field[trkMax].value += field[pAdjust].value Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub. Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! Last edited by Fenris447; February 9th, 2023 at 08:50 PM. |
![]() |
![]() |
Senior Member
Join Date: Mar 2011
Location: USA
Posts: 359
|
I don't know why but I was making it much more complicated then I needed to.
Thanks |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|