Hello all,

I am trying to write an extension for the Savage Worlds (SWADE) ruleset that makes secret Notice rolls for everybody on the Combat Tracker. The problem I am running into is that I seem to be queuing up multiple roll commands and when they all finally get resolved, the global(!?!) ModifierStack is applying all of the collected modifiers to the first character. I have spent some time with printstack() and console() statements and I can't seem to untangle this. Is there a simple way to trigger a roll to get resolved from within a chat command handler?
The code is pretty short so here it is. Thanks in advance for any help that anyone can provide.

function rollNoticeSlashCommand(cmd, params)
local msg = {text = "Notice Roll for Everybody"}
Comm.addChatMessage(msg)
CombatManager.callForEachCombatant(rollNotice)

end
function rollNotice(nodeEntry)
local rUserData = {}
rUserData.bApplyEffects = true
TraitManager.makeSkillRoll("ct", nodeEntry, "Notice", rUserData)
end