DiceProtocolExtension

版本 v1.1.0·更新於 2025-11-13

Adds ability to roll with advantage and disadvantage using the talespire URL protocol

模組介紹 作者原文

Dice Protocol Extension

This unofficial TaleSpire plugin provides the ability to roll with advantage and disadvantage when using the

Talespire dice protocol. Results show both dice rolls but the total uses only the higher dice or the lower

date for calculating the total.

This plugin, like all others, is free but if you want to donate, use:

Install

Use R2ModMan or similar installer to install this plugin.

Usage

Rolls With Advantage And Disadvantage

The Talepsire Dice Protocol is a way to load dice into Talespire from an external application or webpage.

With the Auto Roll Plugin you can also have these dice automatically rolled. To use this feature just make

a URL request to as follows:

`talespire://dice/name:dice`

Where:

`name` is a name that describes what the roll is for.

`dice` is the dice formula to be rolled.

Adding:

`(%2B) to the roll name will roll with advantage (%2B` is the URL encoded version of the plus sign).

`(-)` to the roll name will roll with disadvantage.

The talespire protocol supports multiple dice in a single roll and multiple rolls in a roll specification.

For example:

`talespire://dice/Attack:1D20+5`

`talespire://dice/Attack:1D20+5/Damage:3D6+2`

`talespire://dice/Attack(-):2D20+5`

`talespire://dice/Attack(%2B):2D20+5/Damage:3D6+2`

`talespire://dice/Attack:1D20+5+1D4/Damage:3D6+2`

However, the Advantage and Disadvantage rolls have the following limitations:

  • The Adv/Dis roll must be the first roll in the roll sequence.
  • To roll Adv/Dis, the roll must have exactly two D20 dice. No extra dice are supported.

Multi Modifier Fix

The current version of Talespire has an issue with multiple modifiers in a roll request.

For example, the the following roll:

`talespire://dice/Attack:1D20+5-2+3`

When using regular Talespire, the roll will get added to the Dice Tray as only: `1D20+5`.

This is because Talespire expects rolls to be in the format: #d#+# or #d#-#. You can string those

many times but each set must have a dice portion and an optional modifier portion.

This applies a work around automatically inserting 0D20 dice where needed. Talespire ignores the

0D20 dice but this allows the request to meet the #d#+# format and recognine all numeic modifiers.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

bbepisTaleSpire-BepInExPackbrcoding-SetInjectionFlagPluginLordAshes-LoggingPlugin

檔案與校驗

檔案名稱
DiceProtocolExtension-1.1.0.zip
檔案大小
28.9 KiB