foundryvtt-blades-in-the-dark icon indicating copy to clipboard operation
foundryvtt-blades-in-the-dark copied to clipboard

Entanglements macro adds dice results instead of drawing multiple entries

Open zxaos opened this issue 1 year ago • 1 comments

  • Set a crew's heat to 2 or more
  • Run the entanglements macro
  • See that instead of drawing multiple entanglements, the sum of the rolled dice is instead chosen as a single entanglement.

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 avatar Aug 14 '23 01:08 zxaos

Changing the macho text for the formula to:

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

resolves this

zxaos avatar Aug 14 '23 01:08 zxaos