From 1c21ecac69296ccfc8069d8c7e312d84467b65f0 Mon Sep 17 00:00:00 2001 From: Cussa de Souza Date: Tue, 23 Jan 2024 20:18:55 +0000 Subject: [PATCH 1/7] =?UTF-8?q?=F0=9F=90=9B=20get=20weapon=20icon=20when?= =?UTF-8?q?=20dragging=20to=20macro=20bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/sheet/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/sheet/player.js b/script/sheet/player.js index 331d935..dd5209b 100644 --- a/script/sheet/player.js +++ b/script/sheet/player.js @@ -227,7 +227,7 @@ export class PlayerCharacterSheet extends VaesenActorSheet { const div = $(item).parents(".weapon"); const itemId = div.data("itemId"); const itemName = $(item).text(); - const img = $(div).children(".icon").attr("src"); + const img = $(div).find(".icon").attr("src"); const testName = `${itemName} ${game.i18n.localize("ROLL.ROLL")}`; const data = { From fc74056f9e03768580bf2088ecd0118a141ea3b2 Mon Sep 17 00:00:00 2001 From: Cussa de Souza Date: Tue, 23 Jan 2024 20:19:30 +0000 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=90=9B=20Vagabond=20start=20equipment?= =?UTF-8?q?=20should=20be=20"Quarterstaff"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #104 --- script/util/generator_data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/util/generator_data.js b/script/util/generator_data.js index 07ea8b6..7446dfe 100644 --- a/script/util/generator_data.js +++ b/script/util/generator_data.js @@ -781,7 +781,7 @@ export class generator_data { "Well-traveled" ], equipment: [ - "Walking stick", + "Quarterstaff", "Knife or Dagger", "Crowbar", "Liquor", From 503c5ef569ea38679e997a61c9b9d209a495cbe5 Mon Sep 17 00:00:00 2001 From: Cussa de Souza Date: Tue, 23 Jan 2024 20:20:11 +0000 Subject: [PATCH 3/7] =?UTF-8?q?=F0=9F=90=9B=20removes=20"None"=20from=20Ta?= =?UTF-8?q?lent=20selection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The none option was causing some issues if it was selected --- script/util/roll.js | 1 - 1 file changed, 1 deletion(-) diff --git a/script/util/roll.js b/script/util/roll.js index 9c3823c..9024b10 100644 --- a/script/util/roll.js +++ b/script/util/roll.js @@ -319,7 +319,6 @@ function buildSelectMultipleHtmlDialog(options, name, id) { ); html.push(`
`); html.push(`