I just found the error - re-read my original post - I said that "Helper.CurrArmor" is the tag that marks the currently equipped armor, but then in the script, I looked for "Helper.CurrEquip"
So, change the foreach line to:
and it should work. I apologize for that mistake.
P.S. Don't forget to delete the debug lines (or just go back to the original version and then apply the fix) - otherwise, next time you try to use debug, you may still have these debugs cluttering up the report, making it hard to figure out which set of debug information you're seeing.
So, change the foreach line to:
Code:
foreach pick in hero from BaseArmor where "ArmorClass.Heavy & Helper.CurrArmor"
P.S. Don't forget to delete the debug lines (or just go back to the original version and then apply the fix) - otherwise, next time you try to use debug, you may still have these debugs cluttering up the report, making it hard to figure out which set of debug information you're seeing.