You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What instead happens is that the initiative value stays 0, and I see this in the console log:
plugin:obsidian-dice-roller:475 Uncaught Error: Non parseable dice string passed to DiceRoll.
at new M2 (plugin:obsidian-dice-roller:475:625)
at w2.parseLexemes (plugin:obsidian-dice-roller:482:2219)
at w2.rollSync (plugin:obsidian-dice-roller:480:1425)
at InitiativeTracker.getInitiativeValue (plugin:initiative-tracker:55118:31)
at eval (plugin:initiative-tracker:13744:38)
at update2 (plugin:initiative-tracker:10327:9)
at updateAndSave (plugin:initiative-tracker:13414:5)
at Object.roll (plugin:initiative-tracker:13740:23)
at eval (plugin:initiative-tracker:15917:80)
at e.handleEvent (app.js:1:925701)
Reproduction
With Statblock, DiceRoller and initiative-tracker installed:
define an "Initiative Formula" (in initiative-tracker's settings) that includes %mod1% and %mod2%, such as %mod1%d10+%mod2
in the statblock of a creature, put modifier: [2, 1]
make the plugin roll initiative (e.g., adding the creature to an encounter and clicking "Reroll Initiative"
whatch the console and see the errors appearing
Which Operating Systems are you using?
Android
iPhone/iPad
Linux
macOS
Windows
Obsidian Version Check
1.3.5
Plugin Version
Dice Roller: 9.0.0, Initiative Tracker: 11.2.0
Confirmation
I have disabled all other plugins and the issue still persists.
Possible solution
No response
The text was updated successfully, but these errors were encountered:
Check for existing bug reports before submitting.
Expected Behavior
Initiative formula in the form of
%mod1%d10 + %mod2%
should work, i.e., if we havemodifier: [2, 1]
, I'd expect an initiative roll to be2d10+1
(as documented here: https://plugins.javalent.com/Initiative+Tracker/Intermediate+Topics/Custom+Formulas )Current behaviour
What instead happens is that the initiative value stays
0
, and I see this in the console log:Reproduction
With Statblock, DiceRoller and initiative-tracker installed:
%mod1%
and%mod2%
, such as%mod1%d10+%mod2
modifier: [2, 1]
Which Operating Systems are you using?
Obsidian Version Check
1.3.5
Plugin Version
Dice Roller: 9.0.0, Initiative Tracker: 11.2.0
Confirmation
Possible solution
No response
The text was updated successfully, but these errors were encountered: