I am running the script and it tests it and allows me to use the class the script is assigned to and then gives the following message.
Invalid tag expression specified for 'foreach' statement.
var refbd as number
var fortbd as number
var willbd as number
foreach pick in hero from BaseClHelp where "c?.Bad"
refbd += eachpick.field[tLevel].value
fortbd += eachpick.field[tLevel].value
willbd += eachpick.field[tLevel].value
nexteach
hero.child[svRef].field[Bonus].value/=3
hero.child[svFort].field[Bonus].value/=3
hero.child[svWill].field[Bonus].value/=3
|