diff --git a/modules/hawkmoon-item-sheet.js b/modules/hawkmoon-item-sheet.js index db536f6..6f8afd0 100644 --- a/modules/hawkmoon-item-sheet.js +++ b/modules/hawkmoon-item-sheet.js @@ -185,7 +185,7 @@ export class HawkmoonItemSheet extends ItemSheet { html.find('#add-automation').click(ev => { let autom = duplicate(this.object.system.automations) - autom.push( { eventtype: "on-drop", name: "Automatisation 1", competence: "", minLevel: 0, id: randomID(16) }) + autom.push( { eventtype: "on-drop", name: "Automatisation 1", bonusname: "vigueur", bonus: 0, competence: "", minLevel: 0, baCost: 0, id: randomID(16) }) this.object.update( { 'system.automations': autom }) }) html.find('.delete-automation').click(ev => { diff --git a/system.json b/system.json index 5243521..e5d736f 100644 --- a/system.json +++ b/system.json @@ -35,7 +35,7 @@ "gridUnits": "m", "license": "LICENSE.txt", "manifest": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/raw/branch/master/system.json", - "download": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/archive/fvtt-hawkmoon-cyd-11.0.4.zip", + "download": "https://www.uberwald.me/gitea/public/fvtt-hawkmoon-cyd/archive/fvtt-hawkmoon-cyd-11.0.5.zip", "languages": [ { "lang": "fr",