diff --git a/src/js/heroCreator.js b/src/js/heroCreator.js index 99158605d21f28614cc26759fce30f2f4b378384..4e30e6de42fd423ab81f23af1c73f2d3df8f576d 100644 --- a/src/js/heroCreator.js +++ b/src/js/heroCreator.js @@ -1,7 +1,7 @@ /** creates an array from App.Data.HeroSlaves that will be similar to the old $heroSlaves. * @returns {Array} */ -App.Utils.buildHeroArray = function () { +App.Utils.buildHeroArray = function() { let array; if (V.seeExtreme === 1) { array = App.Data.HeroSlaves.D.concat( @@ -44,7 +44,7 @@ App.Utils.buildHeroArray = function () { * @param {App.Entity.SlaveState} heroSlave * @returns {App.Entity.SlaveState} */ -App.Utils.getHeroSlave = function (heroSlave) { +App.Utils.getHeroSlave = function(heroSlave) { function repairLimbs(slave) { if (slave.hasOwnProperty("removedLimbs")) { if (slave.removedLimbs[0] === 1) { @@ -186,7 +186,7 @@ App.Utils.getHeroSlave = function (heroSlave) { * @param {{}}hero * @param {string} limb */ -App.Utils.removeHeroLimbs = function (hero, limb = "all") { +App.Utils.removeHeroLimbs = function(hero, limb = "all") { if (!hero.hasOwnProperty("removedLimbs")) { hero.removedLimbs = [0, 0, 0, 0]; }