From 6c9bed5fe0a41da50a60769034286799481a2227 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 7 Sep 2021 23:46:31 -0400 Subject: [PATCH] Add missing XP field (and note about Victory) --- strange_eons_to_arkhamdb.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/strange_eons_to_arkhamdb.js b/strange_eons_to_arkhamdb.js index 1b05f09..5a9efbc 100644 --- a/strange_eons_to_arkhamdb.js +++ b/strange_eons_to_arkhamdb.js @@ -115,12 +115,14 @@ var card_data = { sanity: parseInt(Component.settings.get('Sanity')) || null, slot: String(slot), strength: skills["Combat"], + // TODO: should also handle "Victory" field text: substitute_tags(String( Component.settings.get('Keywords') + '\n' + Component.settings.get('Rules'))), traits: substitute_tags(String(Component.settings.get('Traits'))), type_code: card_types[Component.getFrontTemplateKey()], wild: skills["Wild"], will: skills["Willpower"], + xp: parseInt(Component.settings.get('Level')) || null, }; if (Component.settings.get('CardClass2') != 'None') {