Initial Addition of Genesys/Narrative dice to the roller. Initial attempt to roll regular dice using Genesys syntax (yyygggbbb).
Changes
Syntax added, Dice Roller recognises and correctly assigns dice based on letter. (i.e. d12 for y.)
Dice rolls correct quantity, and outputs correct values for rolled dice & total. (i.e. yyy rolls 3d12).
Issues
Dice does not render.
A console.log of roller.dice shows that the results & text properties are inconsistent to what is displayed in the note.
Other dice syntax function so that resultsArray and results are correctly populated with individual rolls, NarrativeRoller does not. I believe this has something to do with the roll() or rollSync() functions, and how the Roller interacts with the dice factory. Likely missed something with how the lexeme gets parsed, as NarrativeRoller is going from chars > dX within the roller itself.
To Do
Dice Renders.
Update get Results & Display to correctly handle Genesys Label logic (i.e. successs/failure over face values).
Pull Request Description
Initial Addition of Genesys/Narrative dice to the roller. Initial attempt to roll regular dice using Genesys syntax (yyygggbbb).
Changes
Issues
To Do