Hmm. I'm not sure where to look next. Let's add some debugging - test what's going on.
Within the trigger script:
Code:
debug "Strength"
debug "Minimum: " & hero.child[attrStr].field[trtMinimum].value
debug "Maximum: " & hero.child[attrStr].field[trtMaximum].value
debug "Initial: " & hero.child[attrStr].field[trtUser].value hero.child[attrStr].field[trtUser].value = random(6) + random(6) + 1
debug "After Adding Random: " & hero.child[attrStr].field[trtUser].value
To look at the results of the debugs, in the Develop menu, first make sure "Enable Data File Debugging" is turned on, then near the bottom, find floating info windows...show debug output.