Repository navigation
1.2.6
✨ 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.