View Single Post
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 12,607

Old December 13th, 2017, 03:10 PM
I'm not sure what error you're encountering - is the feat supposed to grant a bonus to all of them, and it's currently only altering a random one? In that case, sounds like you need a foreach. Is it altering all of them, and is supposed to select only one (chosen in a drop-down on that feat)? If so, then you'll need code that counts the number of classes on the character, builds a menu if there's more than one, and then either sets a focus to the selected class, or if there's only one class, uses findchild to set a focus to that class. Once you have the focus set up, then you can make whatever adjustments you need to do.
Mathias is offline   #2 Reply With Quote