Compare commits

..

3 Commits

Author SHA1 Message Date
1135e3aff2 fix flaws usage 2022-11-19 21:56:51 +01:00
30e316d34e Remove to chat button 2022-11-19 19:22:16 +01:00
f3bd84c5c9 Corrections sur creatures/npc et armes de vehicules 2022-10-10 14:14:32 +02:00
3 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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",

View File

@ -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>