Skip to content

1.2.6

Choose a tag to compare

@HeosPL HeosPL released this 05 Apr 07:00
· 1 commit to main since this release

✨ New Features

  • ✅ Global API (PromptProtocol) is now available during init — allowing macros, tiles, or other modules to use it safely.
  • ✅ New method: PromptProtocol.sendPromptToChat({...})
  • Instantly sends a skill test prompt to chat, without opening the dialog.

📘 How to use

  • You can now call the following from macros, Monk's Active Tiles, items, or other modules:
PromptProtocol.sendPromptToChat({
  skill: "Athletics",          // Name of the skill (must match existing one)
  dv: 18,                      // Difficulty Value
  flavor: "Running under fire",// Optional description
  hideDv: true                 // Hide DV from players (default: false)
});

ℹ️ If the user is a player, the test uses their assigned character.
If the user is a GM, it uses the selected token on the scene.