mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Add type (warrior/ranger/wizard) to hero selector modal (Issue #2307)
This commit is contained in:
parent
7f2e5c4404
commit
dfaa29c596
3 changed files with 9 additions and 4 deletions
|
@ -442,6 +442,7 @@
|
|||
lua_blurb: "Game scripting language."
|
||||
io_blurb: "Simple but obscure."
|
||||
status: "Status"
|
||||
hero_type: "Type"
|
||||
weapons: "Weapons"
|
||||
weapons_warrior: "Swords - Short Range, No Magic"
|
||||
weapons_ranger: "Crossbows, Guns - Long Range, No Magic"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@import "app/styles/mixins"
|
||||
@import "app/styles/bootstrap/variables"
|
||||
|
||||
$heroCanvasHeight: 265px
|
||||
$heroCanvasHeight: 275px
|
||||
|
||||
#play-heroes-modal
|
||||
@include user-select(none)
|
||||
|
@ -198,10 +198,10 @@ $heroCanvasHeight: 265px
|
|||
color: white
|
||||
|
||||
.hero-description
|
||||
margin-bottom: 10px
|
||||
margin-bottom: 7px
|
||||
|
||||
.hero-stat-row
|
||||
margin: 5px 0
|
||||
margin: 4px 0
|
||||
|
||||
.stat-label
|
||||
float: left
|
||||
|
|
|
@ -37,7 +37,11 @@
|
|||
.hero-stat-row
|
||||
.stat-label(data-i18n='choose_hero.status')
|
||||
.stat-value.hero-status-value(data-i18n=hero.restricted ? 'inventory.restricted_title' : (hero.purchasable ? 'play.purchasable' : (hero.locked ? 'play.locked' : 'play.available')))
|
||||
|
||||
|
||||
.hero-stat-row
|
||||
.stat-label(data-i18n='choose_hero.hero_type')
|
||||
.stat-value(data-i18n='general.' +hero.class)
|
||||
|
||||
.hero-stat-row
|
||||
.stat-label(data-i18n='choose_hero.weapons')
|
||||
.stat-value(data-i18n='choose_hero.weapons_'+hero.class)
|
||||
|
|
Loading…
Reference in a new issue