This commit is contained in:
2020-07-25 10:29:28 +02:00
parent c82d0fe8a1
commit b9baa32d02
8 changed files with 110 additions and 66 deletions

View File

@ -313,9 +313,7 @@ export class RdDUtility {
/* -------------------------------------------- */
static getLocalisation( )
{
let myroll = new Roll("d20");
myroll.roll();
let result = myroll.total;
let result = new Roll("d20").roll().total;
let txt = ""
if ( result <= 3 ) txt = "Jambe, genou, pied, jarret";
else if ( result <= 7 ) txt = "Hanche, cuisse, fesse";