Skip to content

v1.2.70

Latest

Choose a tag to compare

@wibobm wibobm released this 03 Jul 17:04
c5e0999
  • feat: macro api for skill rolls allows by-passing dialog.
  # examples:
  game.system.api.rmuMacroSkillAction("controlled", "Climbing", "", { prompt: false });

  game.system.api.rmuMacroSkillAction("controlled", "Endurance", "", { prompt: false });  
  game.system.api.rmuMacroSkillAction("controlled", "Concentration", "", { prompt: false });

  // To inspect results for more integrating with other macros:
  const result = await game.system.api.rmuMacroSkillAction("controlled", "Endurance", "", { prompt: false });
  if (result) {
      console.log(result.decision, result.total, result.rollTotal);
  }