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 }), speaker: ChatMessage.getSpeaker({ actor: actor }),
flags: { msgType: "default" } flags: { msgType: "default" }
}) })
this.rollData.actor = undefined // Cleanup
msg.setFlag("world", "bol-roll-data", this.rollData) msg.setFlag("world", "bol-roll-data", this.rollData)
}) })
} }

View File

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

View File

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