Undisabled the new Adventurer levels we just emailed about.
This commit is contained in:
parent
cf6450201f
commit
fc18ed0153
2 changed files with 1 additions and 6 deletions
app/views/play
|
@ -728,7 +728,6 @@ forest = [
|
||||||
description: 'Join forces with a new hero: Amara Arrowhead.'
|
description: 'Join forces with a new hero: Amara Arrowhead.'
|
||||||
nextLevels:
|
nextLevels:
|
||||||
continue: 'swift-dagger'
|
continue: 'swift-dagger'
|
||||||
disabled: not me.isAdmin()
|
|
||||||
x: 64.37
|
x: 64.37
|
||||||
y: 69.18
|
y: 69.18
|
||||||
}
|
}
|
||||||
|
@ -740,7 +739,6 @@ forest = [
|
||||||
description: 'Deal damage from a distance with your new hero.'
|
description: 'Deal damage from a distance with your new hero.'
|
||||||
nextLevels:
|
nextLevels:
|
||||||
continue: 'shrapnel'
|
continue: 'shrapnel'
|
||||||
disabled: not me.isAdmin()
|
|
||||||
x: 66
|
x: 66
|
||||||
y: 75.61
|
y: 75.61
|
||||||
}
|
}
|
||||||
|
@ -752,7 +750,6 @@ forest = [
|
||||||
description: 'Explore the explosive arts.'
|
description: 'Explore the explosive arts.'
|
||||||
nextLevels:
|
nextLevels:
|
||||||
continue: 'coinucopia'
|
continue: 'coinucopia'
|
||||||
disabled: not me.isAdmin()
|
|
||||||
x: 67
|
x: 67
|
||||||
y: 81
|
y: 81
|
||||||
}
|
}
|
||||||
|
@ -766,7 +763,6 @@ forest = [
|
||||||
description: 'Stand your ground against large ogres with a new hero: Ms. Hushbaum.'
|
description: 'Stand your ground against large ogres with a new hero: Ms. Hushbaum.'
|
||||||
nextLevels:
|
nextLevels:
|
||||||
continue: 'touch-of-death'
|
continue: 'touch-of-death'
|
||||||
disabled: not me.isAdmin()
|
|
||||||
x: 64.37
|
x: 64.37
|
||||||
y: 55.18
|
y: 55.18
|
||||||
}
|
}
|
||||||
|
@ -778,7 +774,6 @@ forest = [
|
||||||
description: 'Learn your first spell to siphon life from your foes.'
|
description: 'Learn your first spell to siphon life from your foes.'
|
||||||
nextLevels:
|
nextLevels:
|
||||||
continue: 'bonemender'
|
continue: 'bonemender'
|
||||||
disabled: not me.isAdmin()
|
|
||||||
x: 65
|
x: 65
|
||||||
y: 48
|
y: 48
|
||||||
}
|
}
|
||||||
|
@ -790,7 +785,6 @@ forest = [
|
||||||
description: 'Cast regeneration on allied soldiers to withstand a siege.'
|
description: 'Cast regeneration on allied soldiers to withstand a siege.'
|
||||||
nextLevels:
|
nextLevels:
|
||||||
continue: 'coinucopia'
|
continue: 'coinucopia'
|
||||||
disabled: not me.isAdmin()
|
|
||||||
x: 66
|
x: 66
|
||||||
y: 40
|
y: 40
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,6 +246,7 @@ module.exports = class PlayHeroesModal extends ModalView
|
||||||
heroEntry = @$el.find(".hero-item[data-hero-id='#{@visibleHero.get('original')}']")
|
heroEntry = @$el.find(".hero-item[data-hero-id='#{@visibleHero.get('original')}']")
|
||||||
heroEntry.find('.hero-status-value').attr('data-i18n', 'play.available').i18n()
|
heroEntry.find('.hero-status-value').attr('data-i18n', 'play.available').i18n()
|
||||||
heroEntry.removeClass 'locked purchasable'
|
heroEntry.removeClass 'locked purchasable'
|
||||||
|
@selectedHero = @visibleHero
|
||||||
@rerenderFooter()
|
@rerenderFooter()
|
||||||
|
|
||||||
Backbone.Mediator.publish 'store:hero-purchased', hero: @visibleHero, heroSlug: @visibleHero.get('slug')
|
Backbone.Mediator.publish 'store:hero-purchased', hero: @visibleHero, heroSlug: @visibleHero.get('slug')
|
||||||
|
|
Reference in a new issue