Add type (warrior/ranger/wizard) to hero selector modal (Issue #2307)

This commit is contained in:
laituan245 2015-02-17 00:50:01 +09:00
parent 7f2e5c4404
commit dfaa29c596
3 changed files with 9 additions and 4 deletions

View file

@ -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"

View file

@ -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

View file

@ -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)