mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-16 16:39:52 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
844e6c5237
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ module.exports = class LevelSetupManager extends CocoClass
|
|||
return
|
||||
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"}}
|
||||
@session.set 'heroConfig', {"thangType":goliath,"inventory":{"eyes":"53eb99f41a100989a40ce46e","neck":"54693274a2b1f53ce79443c9","wrists":"54693797a2b1f53ce79443e9","feet":"546d4d8e9df4a17d0d449acd","minion":"54eb5bf649fa2d5c905ddf4a","programming-book":"557871261ff17fef5abee3ee"}}
|
||||
@onInventoryModalPlayClicked()
|
||||
return
|
||||
if @level.get('type', true) in ['course', 'course-ladder']
|
||||
|
|
|
@ -280,7 +280,7 @@ module.exports = class PlayLevelView extends RootView
|
|||
e.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"}}
|
||||
else if e.level.get('slug') is 'ace-of-coders'
|
||||
goliath = '55e1a6e876cb0948c96af9f8'
|
||||
e.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"}}
|
||||
e.session.set 'heroConfig', {"thangType":goliath,"inventory":{"eyes":"53eb99f41a100989a40ce46e","neck":"54693274a2b1f53ce79443c9","wrists":"54693797a2b1f53ce79443e9","feet":"546d4d8e9df4a17d0d449acd","minion":"54eb5bf649fa2d5c905ddf4a","programming-book":"557871261ff17fef5abee3ee"}}
|
||||
else if e.level.get('type', true) in ['hero', 'hero-ladder', 'hero-coop'] and not _.size e.session.get('heroConfig')?.inventory ? {}
|
||||
@setupManager?.destroy()
|
||||
@setupManager = new LevelSetupManager({supermodel: @supermodel, level: @level, levelID: @levelID, parent: @, session: @session})
|
||||
|
|
Loading…
Reference in a new issue