psicodelix
December 12th, 2022, 11:46
Ruleset(s): CoreRPG
Extensions/Themes: none
Modules Loaded: none
Operating System / Language Setting: Win10/11
Steps to Reproduce:
When you define some complex roll (d6!) and try to drag the roll in the tower it does nothing.
The problem seems to be in this function:
function decodeRollFromOOB(msgOOB)
msgOOB.type = nil;
msgOOB.sender = nil;
msgOOB.aDice, msgOOB.nMod = DiceManager.convertStringToDice(msgOOB.sDice);
msgOOB.sDice = nil;
msgOOB.bTower = true;
msgOOB.bSecret = true;
return msgOOB;
end
when calling convertStringToDice the special dice are lost.
Extensions/Themes: none
Modules Loaded: none
Operating System / Language Setting: Win10/11
Steps to Reproduce:
When you define some complex roll (d6!) and try to drag the roll in the tower it does nothing.
The problem seems to be in this function:
function decodeRollFromOOB(msgOOB)
msgOOB.type = nil;
msgOOB.sender = nil;
msgOOB.aDice, msgOOB.nMod = DiceManager.convertStringToDice(msgOOB.sDice);
msgOOB.sDice = nil;
msgOOB.bTower = true;
msgOOB.bSecret = true;
return msgOOB;
end
when calling convertStringToDice the special dice are lost.