doneif (tagis[Helper.ShowSpec] = 0)
doneif (tagis[Helper.Disable] <> 0)
var tagexpr as string
if (field[usrChosen1].ischosen <> 0) then
tagexpr = field[usrChosen1].chosen.tagids[ProfSkill.?," | "]
foreach pick in hero from BaseSkill where tagexpr
perform eachpick.assign[Helper.ProfDouble]
nexteach
~If we've got proficiency with our thieves' tools, we need to display
~ on the characer sheet/special tab
if (field[usrChosen1].chosen.tagis[thingid.gTooThieve] <> 0) then
perform delete[Helper.SpecUp]
field[livename].text = field[thingname].text & " (Thieves's tools)"
perform hero.assign[ProfTooDbl.gTooThieve]
endif
endif
if (field[usrChosen2].ischosen <> 0) then
tagexpr = field[usrChosen2].chosen.tagids[ProfSkill.?," | "]
foreach pick in hero from BaseSkill where tagexpr
perform eachpick.assign[Helper.ProfDouble]
nexteach
~If we've got proficiency with our thieves' tools, we need to display
~ on the characer sheet/special tab
if (field[usrChosen2].chosen.tagis[thingid.gTooThieve] <> 0) then
perform delete[Helper.SpecUp]
field[livename].text = field[thingname].text & " (Thieves's tools)"
perform hero.assign[ProfTooDbl.gTooThieve]
endif
endif