if (eachpick.field[abValue].value >= 1) then
var i as number
var wepexpr as string
var bonustag as string
wepexpr = eachpick.tagids[wFtrGroup.?," | "]
bonustag = eachpick.tagids[TrainBonus.?, ""]
foreach pick in hero from BaseWep where wepexpr
for i = 1 to tagbonus
perform eachpick.assignstr[bonustag]
next
nexteach
endif
********** Start Evaluation Cycle **********
wFtrGroup.? & CustTaken.cHelpBrd & Helper.Tertiary
Weapon Training: Pole Arms is ability #1, and is at 1
wepexpr is wFtrGroup.PoleArms
bonus tag is TrainBonus.cFtrWPoleA
i = 1 to tagbonus is 1
perform eachpick.assignstr[bonustag] is 0
|