megastruktur / foundryvtt-blades-in-the-dark

Blades In The Dark game system for FoundryVTT
Other
37 stars 103 forks source link

Entanglements macro adds dice results instead of drawing multiple entries #207

Open zxaos opened 1 year ago

zxaos commented 1 year ago

E.g. in the roll below, the dice were all 1s and 2s. However the result shown is for a value of 6+ Screenshot 2023-08-13 at 21 31 05

zxaos commented 1 year ago

Changing the macho text for the formula to:

  let rollFormula = `${crewWanted}d6kh1`;
  if (rollFormula === "0d6kh1") {
    rollFormula = "2d6kl1";
  }

resolves this