View Single Post
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old April 30th, 2013, 09:29 AM
Something like so, as usual no assurances on the code.

Code:
doneif (field[usrChosen1].ischosen = 0)

perform field[usrChosen1].chosen.pulltags[KnowSpell.?]

var searchexpr as string
searchexpr = tagids[KnowSpell.?," | "]

~ I'm gonna assume this doesn't apply to itemspells, only spells cast by you or your spell like abilities.
searchexpr &= " & !Helper.ItemSpell"

foreach pick in hero from BaseSpell where searchexpr
  eachpick.field[sCL].value += 1
  nexteach
Aaron is offline   #3 Reply With Quote