View Single Post
Pezmerga
Senior Member
 
Join Date: Oct 2010
Location: Cincinnati, OH
Posts: 328

Old December 21st, 2011, 02:48 PM
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
Pezmerga is offline   #26 Reply With Quote