I think I'm close. I did this:
Code:
doneif (tagis[Helper.ShowSpec] = 0)
doneif (tagis[Helper.Disable] <> 0)
var iTrack as number
iTrack = field[usrChosen1].chosen.field[aModBonus].value
iTrack = maximum(1,iTrack)
field[trkMax].value = iTrack
It takes the selection, shows the power in the resource tracker, but doesn't reflect the right number of uses. I think the logic of the code is right, but I am not confident in the syntax.