Import gk-greyknight-0.6.4-patch.zip do wg-greyknights (2025-08-23T19:01:42Z)

This commit is contained in:
2025-08-23 19:01:42 +00:00
parent e29930d0b7
commit 4dbce12b5a
3 changed files with 21 additions and 14 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
{ {
"id": "gk-greyknight", "id": "gk-greyknight",
"title": "Grey Knights — Compendium (Wrath & Glory)", "title": "Grey Knights — Compendium (Wrath & Glory)",
"version": "0.6.1", "version": "0.6.4",
"compatibility": { "compatibility": {
"minimum": "11", "minimum": "11",
"verified": "13" "verified": "13"
@@ -25,7 +25,8 @@
} }
], ],
"esmodules": [ "esmodules": [
"scripts/auto-loadout.js" "scripts/auto-loadout.js",
"scripts/helpers.js"
], ],
"readme": "README.txt" "readme": "README.txt"
} }
File diff suppressed because one or more lines are too long
+1
View File
@@ -64,6 +64,7 @@ Hooks.once("ready", () => {
await actor.setFlag(FLAG_SCOPE, FLAG_DONE, true); await actor.setFlag(FLAG_SCOPE, FLAG_DONE, true);
await ensureByName(actor, ITEMS.ability, false); await ensureByName(actor, ITEMS.ability, false);
await ensureByName(actor, "Brotherhood of Psykers", false);
let ordoDoc = await fetchFromUuid(CORE.ordo); let ordoDoc = await fetchFromUuid(CORE.ordo);
if (!ordoDoc) ordoDoc = await fetchFromCompendium(ITEMS.ordo); if (!ordoDoc) ordoDoc = await fetchFromCompendium(ITEMS.ordo);
if (ordoDoc) await ensureOnActor(actor, ordoDoc, false); if (ordoDoc) await ensureOnActor(actor, ordoDoc, false);