Compare commits
3 Commits
bol-v10.3.
...
bol-v10.3.
Author | SHA1 | Date | |
---|---|---|---|
1135e3aff2 | |||
30e316d34e | |||
f3bd84c5c9 |
@ -7,7 +7,7 @@ export class BoLRoll {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static options() {
|
||||
return { classes: ["bol", "dialog"], width: 480, height: 540 };
|
||||
return { classes: ["bol", "dialog"], width: 480, height: 'fit-content' };
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@ -465,10 +465,11 @@ export class BoLRoll {
|
||||
ui.notifications.warn("Pas assez de Points de Pouvoir !")
|
||||
return
|
||||
}
|
||||
console.log("ROLLMALUS", rollData)
|
||||
|
||||
rollData.registerInit = (rollData.aptitude && rollData.aptitude.key == 'init') ? $('#register-init').is(":checked") : false;
|
||||
|
||||
const isMalus = rollData.mDice > 0
|
||||
const isMalus = rollData.nbFlaws > rollData.nbBoons
|
||||
rollData.nbDice += (rollData.attackBonusDice) ? 1 : 0
|
||||
|
||||
let rollbase = rollData.attrValue + rollData.aptValue
|
||||
|
@ -14,9 +14,10 @@
|
||||
],
|
||||
"url": "https://www.uberwald.me/gitea/public/bol",
|
||||
"license": "LICENSE.txt",
|
||||
"version": "10.3.0",
|
||||
"version": "10.3.2",
|
||||
"compatibility": {
|
||||
"minimum": "10"
|
||||
"minimum": "10",
|
||||
"verified": "10.287"
|
||||
},
|
||||
"esmodules": [
|
||||
"module/bol.js"
|
||||
@ -192,7 +193,7 @@
|
||||
],
|
||||
"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.3.0.zip",
|
||||
"download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.3.2.zip",
|
||||
"background": "systems/images/map_lemurie.webp",
|
||||
"gridDistance": 1.5,
|
||||
"gridUnits": "m",
|
||||
|
@ -34,7 +34,6 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-log" title="Log Item"><i class="far fa-comment"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user