diff --git a/app/lib/LevelSetupManager.coffee b/app/lib/LevelSetupManager.coffee index 8a0c65f5b..ad02a4584 100644 --- a/app/lib/LevelSetupManager.coffee +++ b/app/lib/LevelSetupManager.coffee @@ -62,7 +62,7 @@ module.exports = class LevelSetupManager extends CocoClass @session.set 'heroConfig', {"thangType":sorcerer,"inventory":{"misc-0":"53e2396a53457600003e3f0f","programming-book":"546e266e9df4a17d0d449be5","minion":"54eb5dbc49fa2d5c905ddf56","feet":"53e214f153457600003e3eab","right-hand":"54eab7f52b7506e891ca7202","left-hand":"5463758f3839c6e02811d30f","wrists":"54693797a2b1f53ce79443e9","gloves":"5469425ca2b1f53ce7944421","torso":"546d4a549df4a17d0d449a97","neck":"54693274a2b1f53ce79443c9","eyes":"546941fda2b1f53ce794441d","head":"546d4ca19df4a17d0d449abf"}} @onInventoryModalPlayClicked() return - if level.get('slug') is 'ace-of-coders' + if @level.get('slug') is 'ace-of-coders' goliath = '55e1a6e876cb0948c96af9f8' @session.set 'heroConfig', {"thangType":goliath,"inventory":{"eyes":"53eb99f41a100989a40ce46e","neck":"54693274a2b1f53ce79443c9","wrists":"54693797a2b1f53ce79443e9","right-hand":"54eaa9622b7506e891ca71b1","feet":"546d4d8e9df4a17d0d449acd","minion":"54eb5dbc49fa2d5c905ddf56","programming-book":"557871261ff17fef5abee3ee","misc-0":"53e2396a53457600003e3f0f"}} @onInventoryModalPlayClicked() diff --git a/app/models/ThangType.coffee b/app/models/ThangType.coffee index 1a3a7c2d1..4c309f41a 100644 --- a/app/models/ThangType.coffee +++ b/app/models/ThangType.coffee @@ -384,7 +384,7 @@ module.exports = class ThangType extends CocoModel absolute: rawNumbers.speed description: "#{$.i18n.t 'choose_hero.speed_1'} #{rawNumbers.speed} #{$.i18n.t 'choose_hero.speed_2'}" - stats.skills = (_.string.titleize(_.string.humanize(skill)) for skill in programmableConfig.programmableProperties when skill isnt 'say') + stats.skills = (_.string.titleize(_.string.humanize(skill)) for skill in programmableConfig.programmableProperties when skill isnt 'say' and not /(Range|Pos|Radius|Damage)$/.test(skill)) stats