Fix malus dice (again) and scroll rendering

This commit is contained in:
sladecraven 2022-11-25 14:24:03 +01:00
parent 5e7dc3ad9d
commit e35187433e
4 changed files with 6 additions and 5 deletions

View File

@ -447,7 +447,8 @@ ul.no-bullets {
list-style: none;
margin: 7px 0;
padding: 0;
overflow-y: auto;
overflow-y:hidden;
/*overflow-y: auto;*/
}
.items-list .item-header {
font-family: 'Signika', sans-serif;

View File

@ -498,7 +498,7 @@ export class BoLRoll {
rollData.registerInit = (rollData.aptitude && rollData.aptitude.key == 'init') ? $('#register-init').is(":checked") : false;
const isMalus = rollData.nbFlaws > rollData.nbBoons
const isMalus = (rollData.bmDice < 0)
//rollData.nbDice += (rollData.attackBonusDice) ? 1 : 0
let rollbase = rollData.attrValue + rollData.aptValue

View File

@ -14,7 +14,7 @@
],
"url": "https://www.uberwald.me/gitea/public/bol",
"license": "LICENSE.txt",
"version": "10.4.1",
"version": "10.4.2",
"compatibility": {
"minimum": "10",
"verified": "10",
@ -203,7 +203,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.4.1.zip",
"download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.4.2.zip",
"background": "systems/images/map_lemurie.webp",
"gridDistance": 1.5,
"gridUnits": "m",

View File

@ -17,7 +17,7 @@
</li>
{{#each boleffects as |effect keyEffect|}}
<li class="item flexrow" data-item-id="{{effect.id}}">
<div class="item-image roll-weapon"><img src="{{effect.img}}" title="{{effect.name}}"/></div>
<div class="item-image"><img src="{{effect.img}}" title="{{effect.name}}"/></div>
<h4 class="item-name flex2"><a class="item-edit">{{effect.name}}</a></h4>
</li>
{{/each}}