mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Listed a few new levels.
This commit is contained in:
parent
ef30498985
commit
d8d2a57c38
3 changed files with 27 additions and 12 deletions
|
@ -211,7 +211,7 @@ module.exports = ScriptManager = class ScriptManager extends CocoClass
|
|||
for module in nextNoteGroup.modules
|
||||
@processNote(note, nextNoteGroup) for note in module.startNotes()
|
||||
if nextNoteGroup.script.duration
|
||||
f = => @onNoteGroupTimeout nextNoteGroup
|
||||
f = => @onNoteGroupTimeout? nextNoteGroup
|
||||
setTimeout(f, nextNoteGroup.script.duration)
|
||||
Backbone.Mediator.publish('note-group-started')
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ module.exports = class CastButtonView extends View
|
|||
@castOptions = $('.autocast-delays', @$el)
|
||||
delay = me.get('autocastDelay')
|
||||
delay ?= 5000
|
||||
if @levelID in ['brawlwood', 'brawlwood-tutorial', 'dungeon-arena', 'dungeon-arena-tutorial']
|
||||
if @levelID in ['brawlwood', 'brawlwood-tutorial', 'dungeon-arena', 'dungeon-arena-tutorial', 'gold-rush', 'greed']
|
||||
delay = 90019001
|
||||
@setAutocastDelay delay
|
||||
|
||||
|
@ -78,7 +78,7 @@ module.exports = class CastButtonView extends View
|
|||
async.some _.values(@spells), (spell, callback) =>
|
||||
spell.hasChangedSignificantly spell.getSource(), null, callback
|
||||
, (castable) =>
|
||||
|
||||
|
||||
@castButtonGroup.toggleClass('castable', castable).toggleClass('casting', @casting)
|
||||
if @casting
|
||||
s = $.i18n.t("play_level.tome_cast_button_casting", defaultValue: "Casting")
|
||||
|
|
|
@ -151,6 +151,22 @@ module.exports = class PlayView extends View
|
|||
description: "Play head-to-head against fellow Wizards in a dungeon melee!"
|
||||
levelPath: 'ladder'
|
||||
}
|
||||
{
|
||||
name: 'Gold Rush'
|
||||
difficulty: 3
|
||||
id: 'gold-rush'
|
||||
image: '/file/db/level/52602ecb026e8481e7000001/generic_1.png'
|
||||
description: "Prove you are better at collecting gold than your opponent!"
|
||||
levelPath: 'ladder'
|
||||
}
|
||||
{
|
||||
name: 'Greed'
|
||||
difficulty: 4
|
||||
id: 'greed'
|
||||
image: '/file/db/level/526fd3043c637ece50001bb2/the_herd_icon.png'
|
||||
description: "Liked Dungeon Arena and Gold Rush? Put them together in this economic arena!"
|
||||
levelPath: 'ladder'
|
||||
}
|
||||
{
|
||||
name: 'Brawlwood'
|
||||
difficulty: 4
|
||||
|
@ -159,14 +175,6 @@ module.exports = class PlayView extends View
|
|||
description: "Combat the armies of other Wizards in a strategic forest arena! (Fast computer required.)"
|
||||
levelPath: 'ladder'
|
||||
}
|
||||
{
|
||||
name: 'Gold Rush'
|
||||
difficulty: 3
|
||||
id: 'gold-rush'
|
||||
image: '/file/db/level/525ef8ef06e1ab0962000003/commanding_followers_icon.png'
|
||||
description: "Prove you are better at collecting gold than your opponent!"
|
||||
levelPath: 'ladder'
|
||||
}
|
||||
]
|
||||
|
||||
playerCreated = [
|
||||
|
@ -219,7 +227,14 @@ module.exports = class PlayView extends View
|
|||
image: '/file/db/level/526ae95c1e5cd30000000008/zone_of_danger_icon.png'
|
||||
description: "Identify the spies hidden among your soldiers - by Nathan Gossett"
|
||||
}
|
||||
|
||||
{
|
||||
name: 'Harvest Time'
|
||||
difficulty: 2
|
||||
id: 'find-the-spy'
|
||||
image: '/file/db/level/529662dfe0df8f0000000007/grab_the_mushroom_icon.png'
|
||||
description: "Collect a hundred mushrooms in just five lines of code - by Nathan Gossett"
|
||||
}
|
||||
|
||||
#{
|
||||
# name: 'Enemy Artillery'
|
||||
# difficulty: 1
|
||||
|
|
Loading…
Reference in a new issue