So, if I do this as tags, what's the easiest way to set up values? My prior code depending on Identity tags on the skills, and assuming +2, like the following:
Code:
if (tagis[SkillBon?.?] <> 0) then
expr = tagids[SkillBon?.?, " | "]
foreach pick in hero from Skill where expr
val = tagmax[SkillBon?.?]
perform eachpick.field[trtBG].modify[+,2,""]
nexteach
endif
Should I just replace that with a series of "foreach" groups with the individual skill choices (SkillBon1, SkillBon2, SkillBon3)? Or is there a way to use
tagvalue to extract the value involved?