Okay, the last example you gave me threw a syntax error when I tried to test it. "Attempt to access text-based field 'wpDamage' as value."
Code:
perform hero.childfound[wpUnarmed].assign[GearQual.Deadly]
perform hero.childfound[wpUnarmed].delete[GearQual.NonLethal]
perform hero.childfound[wpUnarmed].field[wpDamage].value += 2
There's the whole three lines in that script. It seems okay with the first two lines, so what am I doing wrong in line 3?