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
app
|
@ -442,6 +442,7 @@
|
||||||
lua_blurb: "Game scripting language."
|
lua_blurb: "Game scripting language."
|
||||||
io_blurb: "Simple but obscure."
|
io_blurb: "Simple but obscure."
|
||||||
status: "Status"
|
status: "Status"
|
||||||
|
hero_type: "Type"
|
||||||
weapons: "Weapons"
|
weapons: "Weapons"
|
||||||
weapons_warrior: "Swords - Short Range, No Magic"
|
weapons_warrior: "Swords - Short Range, No Magic"
|
||||||
weapons_ranger: "Crossbows, Guns - Long Range, No Magic"
|
weapons_ranger: "Crossbows, Guns - Long Range, No Magic"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
@import "app/styles/mixins"
|
@import "app/styles/mixins"
|
||||||
@import "app/styles/bootstrap/variables"
|
@import "app/styles/bootstrap/variables"
|
||||||
|
|
||||||
$heroCanvasHeight: 265px
|
$heroCanvasHeight: 275px
|
||||||
|
|
||||||
#play-heroes-modal
|
#play-heroes-modal
|
||||||
@include user-select(none)
|
@include user-select(none)
|
||||||
|
@ -198,10 +198,10 @@ $heroCanvasHeight: 265px
|
||||||
color: white
|
color: white
|
||||||
|
|
||||||
.hero-description
|
.hero-description
|
||||||
margin-bottom: 10px
|
margin-bottom: 7px
|
||||||
|
|
||||||
.hero-stat-row
|
.hero-stat-row
|
||||||
margin: 5px 0
|
margin: 4px 0
|
||||||
|
|
||||||
.stat-label
|
.stat-label
|
||||||
float: left
|
float: left
|
||||||
|
|
|
@ -37,7 +37,11 @@
|
||||||
.hero-stat-row
|
.hero-stat-row
|
||||||
.stat-label(data-i18n='choose_hero.status')
|
.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')))
|
.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
|
.hero-stat-row
|
||||||
.stat-label(data-i18n='choose_hero.weapons')
|
.stat-label(data-i18n='choose_hero.weapons')
|
||||||
.stat-value(data-i18n='choose_hero.weapons_'+hero.class)
|
.stat-value(data-i18n='choose_hero.weapons_'+hero.class)
|
||||||
|
|
Reference in a new issue