modules/dice-pool-ffg.js
/**
   * Transform the dice pool into a rollable expression
   * @returns {string} a dice expression that can be used to roll the dice pool
   */
Transform the dice pool into a rollable expression
@returns {string} a dice expression that can be used to roll the dice pool
Transform the dice pool into a rollable expression @returns { string } a dice expression that can be used to roll the dice pool
renderDiceExpression() {
    let dicePool = [this.proficiency + "dp", this.ability + "da", this.challenge + "dc", this.difficulty + "dd", this.boost + "db", this.setback + "ds", this.force + "df"];
    let finalPool = dicePool.filter((d) => {
      const test = d.split(/([0-9]+)/);
      return test[1] > 0;
    });
    return finalPool.join("+");
  }
renderDiceExpression ( ) { let dicePool = [ this . proficiency + "dp" , this . ability + "da" , this . challenge + "dc" , this . difficulty + "dd" , this . boost + "db" , this . setback + "ds" , this . force + "df" ] ; let finalPool = dicePool . filter ( ( d ) => { const test = d . split ( / ([0-9]+) / ) ; return test [ 1 ] > 0 ; } ) ; return finalPool . join ( "+" ) ; }
Transform the dice pool into a rollable expression
 @returns {string} a dice expression that can be used to roll the dice pool
Transform the dice pool into a rollable expression @returns { string } a dice expression that can be used to roll the dice pool