v10 branch - Update manifest

This commit is contained in:
sladecraven 2022-07-16 11:05:15 +02:00
commit 89ec404ca8
3 changed files with 13 additions and 2 deletions

View File

@ -564,6 +564,7 @@ export class BoLDefaultRoll {
speaker: ChatMessage.getSpeaker({ actor: actor }),
flags: { msgType: "default" }
})
this.rollData.actor = undefined // Cleanup
msg.setFlag("world", "bol-roll-data", this.rollData)
})
}

View File

@ -484,11 +484,21 @@ export class BoLUtility {
nbDice++
modIndex = 4
}
if (res[3] == 'MM') {
postForm = 'kl' + nbDice
nbDice += 2
modIndex = 4
}
if (res[3] == 'B') {
postForm = 'kh' + nbDice
nbDice++
modIndex = 4
}
if (res[3] == 'BB') {
postForm = 'kh' + nbDice
nbDice += 2
modIndex = 4
}
}
formula = "(" + nbDice + "d" + res[2] + reroll + postForm + "+" + modifier + ") *" + multiplier
}

View File

@ -14,7 +14,7 @@
"url": "https://www.uberwald.me/gitea/public/bol",
"license": "LICENSE.txt",
"flags": {},
"version": "10.0.1",
"version": "10.0.2",
"compatibility": {
"minimum": 10
},
@ -182,7 +182,7 @@
"relationships": { },
"socket": true,
"manifest": "https://www.uberwald.me/gitea/public/bol/raw/v10/system.json",
"download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.0.1.zip",
"download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.0.2.zip",
"protected": false,
"background": "images/map_lemurie.webp",
"gridDistance": 1.5,