v11 ready
This commit is contained in:
		| @@ -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 => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user