View Single Post
DeathSheep
Member
 
Join Date: Jun 2018
Posts: 83

Old November 5th, 2021, 03:50 PM
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.
DeathSheep is offline   #3 Reply With Quote