Points de creation OK again

This commit is contained in:
LeRatierBretonnien 2023-05-24 14:00:24 +02:00
parent 268ac0a25a
commit 3f5f090bb9
3 changed files with 11 additions and 2 deletions

View File

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

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",
"version": "10.5.16", "version": "10.5.17",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "10" "verified": "10"
@ -202,7 +202,7 @@
], ],
"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.5.16.zip", "download": "https://www.uberwald.me/gitea/public/bol/archive/bol-v10.5.17.zip",
"background": "systems/bol/ui/page_accueil.webp", "background": "systems/bol/ui/page_accueil.webp",
"gridDistance": 1.5, "gridDistance": 1.5,
"gridUnits": "m", "gridUnits": "m",

View File

@ -30,6 +30,14 @@
{{/if}} {{/if}}
{{#if isAlchemist}} {{#if isAlchemist}}
<ol class="items-list">
<li class="item flexrow item-header">
<div class="item-name flex4 left">{{localize "BOL.resources.alchemypoints"}}</div>
<input class="field-value" type="text" name="system.resources.alchemypoints.value" value="{{resources.alchemypoints.value}}" data-dtype="Number"/>
</li>
</ol>
<ol class="items-list"> <ol class="items-list">
<li class="item flexrow item-header"> <li class="item flexrow item-header">
<div class="item-name flex4 left">{{localize "BOL.ui.alchemy"}}</div> <div class="item-name flex4 left">{{localize "BOL.ui.alchemy"}}</div>