module/actor.js
/**
     * Roll a Saving Throw
     * @param {String} saveId       The save ID (e.g. "str")
     */
Roll a Saving Throw
@param {String} saveId       The save ID
Roll a Saving Throw @param { String } saveId The save ID
rollSavingThrow(saveId) {
        const label = CONFIG.DCC.saves[saveId];
        const save = this.data.data.saves[saveId];
        save.label = CONFIG.DCC.saves[saveId];
        let roll = new Roll("1d20+@saveMod", {saveMod: save.value});
        roll.toMessage({
            speaker: ChatMessage.getSpeaker({actor: this}),
            flavor: game.i18n.localize(save.label) + " Save"
        });
    }
rollSavingThrow ( saveId ) { const label = CONFIG . DCC . saves [ saveId ] ; const save = this . data . data . saves [ saveId ] ; save . label = CONFIG . DCC . saves [ saveId ] ; let roll = new Roll ( "1d20+@saveMod" , { saveMod : save . value } ) ; roll . toMessage ( { speaker : ChatMessage . getSpeaker ( { actor : this } ) , flavor : game . i18n . localize ( save . label ) + " Save" } ) ; }
Roll a Saving Throw
 @param {String} saveId       The save ID (e.g.
Roll a Saving Throw @param { String } saveId The save ID ( e . g .
// Convert the roll to a chat message