diff --git a/src/module/xml-import/xml-import.mjs b/src/module/xml-import/xml-import.mjs index 1e4b512c..c17f95e8 100644 --- a/src/module/xml-import/xml-import.mjs +++ b/src/module/xml-import/xml-import.mjs @@ -240,19 +240,24 @@ export class XmlImport { json.attribute.ko = this.#getAttributeJson(attributes, "Konstitution") json.attribute.kk = this.#getAttributeJson(attributes, "Körperkraft") json.mr = { - mod: this.#filterAttribute(attributes, "Magieresistenz").mod + mod: Number(this.#filterAttribute(attributes, "Magieresistenz").mod) + + Number(this.#filterAttribute(attributes, "Magieresistenz").value) // bought points } json.lep = { - mod: this.#filterAttribute(attributes, "Lebensenergie").mod + mod: Number(this.#filterAttribute(attributes, "Lebensenergie").mod) + + Number(this.#filterAttribute(attributes, "Lebensenergie").value) // bought points } json.aup = { - mod: this.#filterAttribute(attributes, "Ausdauer").mod + mod: Number(this.#filterAttribute(attributes, "Ausdauer").mod) + + Number(this.#filterAttribute(attributes, "Ausdauer").value) // bought points } json.asp = { - mod: this.#filterAttribute(attributes, "Astralenergie").mod + mod: Number(this.#filterAttribute(attributes, "Astralenergie").mod) + + Number(this.#filterAttribute(attributes, "Astralenergie").value) // bought points } json.kap = { - mod: this.#filterAttribute(attributes, "Karmaenergie").mod + mod: Number(this.#filterAttribute(attributes, "Karmaenergie").mod) + + Number(this.#filterAttribute(attributes, "Karmaenergie").value) // bought points } let attribute = this.#filterAttribute(attributes, "ini") json.ini = {