From 7d9c5dc4b74c7d33592eef2ecd9a4006609e713a Mon Sep 17 00:00:00 2001 From: phBalance Date: Fri, 27 Sep 2024 22:07:31 -0600 Subject: [PATCH] refactor(config): simplify some XML --- module/config.mjs | 355 ++++++++++++++++++++-------------------------- 1 file changed, 157 insertions(+), 198 deletions(-) diff --git a/module/config.mjs b/module/config.mjs index a7925662b..bcfed78df 100644 --- a/module/config.mjs +++ b/module/config.mjs @@ -377,9 +377,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) { range: HERO.RANGE_TYPES.SELF, costEnd: true, ignoreFor: ["base2", "computer", "ai"], - xml: ` - - `, + xml: ``, }, {}, ); @@ -396,9 +394,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) { range: HERO.RANGE_TYPES.SELF, costEnd: false, ignoreFor: ["base2"], - xml: ` - - `, + xml: ``, }, { costPerLevel: 3, @@ -417,9 +413,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) { range: HERO.RANGE_TYPES.SELF, costEnd: false, ignoreFor: ["vehicle", "base2", "computer", "ai"], - xml: ` - - `, + xml: ``, }, { costPerLevel: 2, @@ -438,9 +432,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) { range: HERO.RANGE_TYPES.SELF, costEnd: false, ignoreFor: ["vehicle", "base2"], - xml: ` - - `, + xml: ``, }, {}, ); @@ -457,9 +449,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) { range: HERO.RANGE_TYPES.SELF, costEnd: false, ignoreFor: ["automaton", "vehicle", "base2", "computer"], - xml: ` - - `, + xml: ``, }, { costPerLevel: 2, @@ -478,9 +468,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) { range: HERO.RANGE_TYPES.SELF, costEnd: false, ignoreFor: ["vehicle", "base2", "computer", "ai"], - xml: `
-            
-            
`, + xml: `
`,
         },
         {},
     );
@@ -496,9 +484,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         ignoreFor: ["vehicle", "base2", "computer", "ai", "6e"], // TODO: Remove the 6e here.
         base: 10,
         costPerLevel: 1 / 2,
-        xml: `
-        
-        `,
+        xml: ``,
     });
     addPower(
         {
@@ -513,9 +499,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["base2"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             costPerLevel: 0,
@@ -535,9 +519,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["base2"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             costPerLevel: 0,
@@ -557,9 +539,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["automaton", "vehicle", "base2"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             costPerLevel: 0,
@@ -579,9 +559,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["automaton", "vehicle", "base2"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             costPerLevel: 0,
@@ -601,9 +579,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["base2"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             base: 0,
@@ -622,13 +598,10 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["computer", "ai"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             base: 0,
-            costPerLevel: 1,
         },
     );
     addPower(
@@ -644,13 +617,10 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["computer", "ai"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             base: 0,
-            costPerLevel: 1,
         },
     );
     addPower(
@@ -666,9 +636,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["vehicle", "base2", "computer", "ai"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             base: 0,
@@ -688,9 +656,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["vehicle", "base2", "computer", "ai"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             base: 0,
@@ -731,9 +697,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             ignoreFor: ["vehicle", "base2", "computer", "ai"],
-            xml: `
-            
-            `,
+            xml: ``,
         },
         {
             base: 0,
@@ -1650,7 +1614,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             costEnd: true,
             costPerLevel: 20,
             ignoreFor: ["pc", "npc", "automaton", "vehicle", "base2", "computer", "ai"], // There aren't really any LEVELS or a .value for this power, no need to show on CHARACTERISTICS tab //
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1666,7 +1630,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             costEnd: true,
             costPerLevel: 1,
             ignoreFor: ["base2", "computer", "ai"],
-            xml: ``,
+            xml: ``,
         },
         {
             costPerLevel: 2,
@@ -1683,7 +1647,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             costEnd: false,
             costPerLevel: 2,
             ignoreFor: ["base2", "computer", "ai"],
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1698,7 +1662,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         costEnd: false,
         costPerLevel: 1,
         ignoreFor: ["base2", "computer", "ai"],
-        xml: ``,
+        xml: ``,
     });
 
     addPower(
@@ -1714,7 +1678,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: true,
             ignoreFor: ["base2", "computer", "ai"],
-            xml: ``,
+            xml: ``,
         },
         {
             base: 2,
@@ -1734,7 +1698,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: true,
             ignoreFor: ["base2", "computer", "ai"],
-            xml: ``,
+            xml: ``,
         },
         {
             base: 6,
@@ -1754,7 +1718,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: true,
             ignoreFor: ["base2", "computer", "ai"],
-            xml: ``,
+            xml: ``,
         },
         {
             base: 2,
@@ -1777,7 +1741,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             costEnd: true,
             costPerLevel: 0.5,
             ignoreFor: ["base2", "computer", "ai"],
-            xml: ``,
+            xml: ``,
         },
         {
             costPerLevel: 1,
@@ -1795,7 +1759,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             costEnd: true,
             costPerLevel: 1,
             ignoreFor: ["base2", "computer", "ai"],
-            xml: ``,
+            xml: ``,
         },
         {
             costPerLevel: 2,
@@ -1812,7 +1776,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             costEnd: true,
             costPerLevel: 1,
             ignoreFor: ["base2", "computer", "ai"],
-            xml: ``,
+            xml: ``,
         },
         {
             costPerLevel: 5,
@@ -1830,7 +1794,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1843,7 +1807,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1856,7 +1820,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1876,7 +1840,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
                 }
                 return 2 + skill.system.ADDER.length - 1;
             },
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1899,7 +1863,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1914,7 +1878,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             //costPerLevel: 1,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1927,7 +1891,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1940,7 +1904,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1953,7 +1917,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1967,7 +1931,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         undefined,
     );
@@ -1980,7 +1944,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -1993,7 +1957,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2063,7 +2027,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
                         return 0;
                 }
             },
-            xml: ``,
+            xml: ``,
         },
         {
             costPerLevel: function (item) {
@@ -2113,7 +2077,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2126,7 +2090,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2139,7 +2103,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2152,7 +2116,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2165,7 +2129,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2178,7 +2142,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2191,7 +2155,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2204,7 +2168,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2218,7 +2182,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2232,7 +2196,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2245,7 +2209,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2258,7 +2222,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2271,7 +2235,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2285,7 +2249,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2299,7 +2263,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2321,7 +2285,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2335,7 +2299,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2350,7 +2314,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2364,7 +2328,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2396,7 +2360,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2409,7 +2373,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2424,7 +2388,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2438,7 +2402,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2451,7 +2415,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2464,7 +2428,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2478,7 +2442,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2528,7 +2492,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
                         return 0;
                 }
             },
-            xml: ``,
+            xml: ``,
         },
         undefined,
     );
@@ -2541,7 +2505,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2569,7 +2533,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2610,7 +2574,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2633,7 +2597,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2703,7 +2667,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
                         return 0;
                 }
             },
-            xml: ``,
+            xml: ``,
         },
         {
             costPerLevel: function (item) {
@@ -2768,7 +2732,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2782,7 +2746,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2796,7 +2760,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2827,7 +2791,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2842,7 +2806,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2855,7 +2819,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2877,7 +2841,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2917,7 +2881,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
                         return 0;
                 }
             },
-            xml: ``,
+            xml: ``,
         },
         {
             costPerLevel: function (item) {
@@ -2952,7 +2916,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2974,7 +2938,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -2987,7 +2951,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3001,7 +2965,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3014,7 +2978,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3028,7 +2992,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3041,7 +3005,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3054,7 +3018,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3067,7 +3031,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3119,7 +3083,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3133,7 +3097,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3147,7 +3111,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             categorized: true,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3284,7 +3248,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3302,7 +3266,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
                 return 10;
             }
         },
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -3313,7 +3277,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3327,7 +3291,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3354,7 +3318,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3368,7 +3332,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3382,7 +3346,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 1,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -3393,7 +3357,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3406,7 +3370,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3418,7 +3382,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3431,7 +3395,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3447,14 +3411,9 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             costEnd: false,
             costPerLevel: 0,
             xml: `
-            
-            
-              
-            
-            
-              
-            
-          `,
+                    
+                    
+                `,
         },
         {},
     );
@@ -3467,7 +3426,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3480,7 +3439,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3495,7 +3454,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3507,7 +3466,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3519,7 +3478,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3531,7 +3490,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3546,7 +3505,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.NO_RANGE,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(undefined, {
         key: "BERSERKFURY",
@@ -3558,7 +3517,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: true,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -3569,7 +3528,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 0,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3583,7 +3542,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         name: "Combat Archery",
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -3596,7 +3555,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 6,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3607,7 +3566,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         target: "self only",
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -3618,7 +3577,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3629,7 +3588,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         target: "self only",
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
-        xml: ``,
+        xml: ``,
     });
     addPower(undefined, {
         key: "COMBATSPELLCASTING",
@@ -3639,7 +3598,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         target: "self only",
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
-        xml: ``,
+        xml: ``,
     });
     addPower(undefined, {
         key: "CRIPPLINGBLOW",
@@ -3649,7 +3608,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         target: "target's dcv",
         range: HERO.RANGE_TYPES.NO_RANGE,
         costEnd: false,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -3659,7 +3618,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             target: "self only",
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3673,7 +3632,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3721,7 +3680,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
                         return 0;
                 }
             },
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3734,7 +3693,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -3745,7 +3704,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 0,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3759,7 +3718,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 0,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3772,7 +3731,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 0,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3785,7 +3744,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
 
     addPower(undefined, {
@@ -3796,7 +3755,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(undefined, {
         key: "FASCINATION",
@@ -3807,7 +3766,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(undefined, {
         key: "FEARLESS",
@@ -3818,7 +3777,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(undefined, {
         key: "FOLLOWTHROUGHATTACK",
@@ -3829,7 +3788,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.NO_RANGE,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
 
     addPower(undefined, {
@@ -3841,7 +3800,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
 
     addPower(undefined, {
@@ -3852,7 +3811,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
 
     addPower(undefined, {
@@ -3863,7 +3822,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -3874,7 +3833,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 0,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3887,10 +3846,10 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {
-            xml: ``,
+            xml: ``,
         },
     );
     addPower(undefined, {
@@ -3902,7 +3861,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 1,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -3913,7 +3872,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 0,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3927,7 +3886,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(undefined, {
         key: "MOUNTEDWARRIOR",
@@ -3938,7 +3897,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
 
     addPower(
@@ -3950,7 +3909,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 0,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3964,7 +3923,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 0,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -3978,7 +3937,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.STANDARD,
         costEnd: false,
         costPerLevel: 1,
-        xml: ``,
+        xml: ``,
     });
     addPower(undefined, {
         key: "RAPIDHEALING",
@@ -3989,7 +3948,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 1,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -4000,7 +3959,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -4014,7 +3973,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -4026,7 +3985,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 1,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -4038,7 +3997,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 1,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -4049,7 +4008,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
             range: HERO.RANGE_TYPES.SELF,
             costEnd: false,
             costPerLevel: 2,
-            xml: ``,
+            xml: ``,
         },
         {},
     );
@@ -4061,7 +4020,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: false,
         costPerLevel: 2,
-        xml: ``,
+        xml: ``,
     });
     addPower(
         {
@@ -4079,7 +4038,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
                         return 2;
                 }
             },
-            xml: ``,
+            xml: ``,
         },
         undefined,
     );
@@ -4093,7 +4052,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
         range: HERO.RANGE_TYPES.SELF,
         costEnd: true,
         costPerLevel: 0,
-        xml: ``,
+        xml: ``,
     });
     addPower(undefined, {
         key: "TURNUNDEAD",
@@ -4174,7 +4133,7 @@ function addPower(powerDescription6e, powerOverrideFor5e) {
                         return 0;
                 }
             },
-            xml: ``,
+            xml: ``,
         },
         {},
     );