I have this tag expression:
and I want to apply it to a foreach loop so that it applies a reduction of armor check penalty for each pick that is true.
What's the correct syntax that makes this work?
Code:
hero.tagexpr[BaseArmTyp.Light | BaseArmTyp.Medium] <> 0
Code:
foreach pick in hero from BaseArmor where (tag expression is true)
eachpick.field[arArmorChk].value += 1
nexteach
What's the correct syntax that makes this work?