field[kClass].value <> 0 is what tells the d20 system if the skill is a class skill
if the field is non-zero (<> 0) then its a class skill if it is 0 its a non-class skill.
- piecewise - if I am not mistaken just says this is a piecewise function, its either 0 or 1 (off or on).
Have you tried hero.child[skSurvival].field[kClass].modify[+,1,""] ?
|