diff --git a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/AbilityMimic.xml b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/AbilityMimic.xml index a0f12b4..b06be25 100644 --- a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/AbilityMimic.xml +++ b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/AbilityMimic.xml @@ -1,4 +1,4 @@ - + @@ -10,7 +10,7 @@ - + diff --git a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/BehaviorMimic.xml b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/BehaviorMimic.xml index f270ae1..0a70dbc 100644 --- a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/BehaviorMimic.xml +++ b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/BehaviorMimic.xml @@ -1,4 +1,4 @@ - + @@ -10,7 +10,7 @@ - + diff --git a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/IconGlowing.xml b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/IconGlowing.xml index 67611fd..ea41bb9 100644 --- a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/IconGlowing.xml +++ b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/IconGlowing.xml @@ -1,5 +1,5 @@ - - + + diff --git a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/ModelMimic.xml b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/ModelMimic.xml index 942ccb5..3b6a302 100644 --- a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/ModelMimic.xml +++ b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/ModelMimic.xml @@ -1,4 +1,4 @@ - + @@ -7,7 +7,7 @@ - + diff --git a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/PermaArmor.xml b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/PermaArmor.xml index 8d06874..935a7ef 100644 --- a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/PermaArmor.xml +++ b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/PermaArmor.xml @@ -1,5 +1,5 @@ - - + + diff --git a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/TestHero.xml b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/TestHero.xml index 9fb5368..e9b94d6 100644 --- a/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/TestHero.xml +++ b/(10)trymemode.stormmap/base.stormdata/Mods/GameData/HeroesMod/TestHero.xml @@ -1,5 +1,5 @@ - - + + \n'; finalXML += '\n'; finalXML += '\n'; @@ -21,7 +21,8 @@ finalXML += '\n'; finalXML += '\n'; finalXML += '\n'; -finalXML += '\n\n'; +// eslint-disable-next-line max-len +finalXML += '\n\n'; XMLFiles.forEach((obj) => { XMLParser(obj.fileData, (err, result) => { diff --git a/scripts/main/helper/buildmimicXML.js b/scripts/main/helper/buildmimicXML.js index 1c9f19c..8c90b59 100644 --- a/scripts/main/helper/buildmimicXML.js +++ b/scripts/main/helper/buildmimicXML.js @@ -28,12 +28,17 @@ module.exports = (configParam) => { rootName: 'Catalog', xmldec: { version: '1.0', - encoding: 'us-ascii', - standalone: false, + encoding: 'UTF-8', }, }); - const mainObj = {}; + const mainObj = { + $: { + 'xmlns:xsi': 'http://www.w3.org/2001/XMLSchema-instance', + // eslint-disable-next-line max-len + 'xsi:noNamespaceSchemaLocation': 'https://raw.githubusercontent.com/jamiephan/HeroesOfTheStorm_Gamedata/master/xsd/latest.xsd', + }, + }; if (!(config.generation.pre === null || typeof config.generation.pre === 'undefined')) { config.generation.pre.forEach((o) => {