mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-31 07:12:49 -04:00
A few minor fixes.
This commit is contained in:
parent
fca9a92167
commit
b698200cf0
3 changed files with 3 additions and 6 deletions
app
|
@ -148,10 +148,7 @@ _.extend LevelComponentSchema.properties,
|
|||
type: 'boolean'
|
||||
title: 'Official'
|
||||
description: 'Whether this is an official CodeCombat Component.'
|
||||
searchStrings: {
|
||||
type: 'array'
|
||||
items: { type: 'string' }
|
||||
}
|
||||
searchStrings: {type: 'string'}
|
||||
|
||||
c.extendBasicProperties LevelComponentSchema, 'level.component'
|
||||
c.extendSearchableProperties LevelComponentSchema
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
background-position-x: -4 * $iconSize
|
||||
&.prop-label-icon-attackDamage
|
||||
background-position-x: -5 * $iconSize
|
||||
&.prop-label-icon-attackRange
|
||||
&.prop-label-icon-attackRange, &.prop-label-icon-attackNearbyEnemyRange
|
||||
background-position-x: -6 * $iconSize
|
||||
&.prop-label-icon-maxSpeed
|
||||
background-position-x: -7 * $iconSize
|
||||
|
|
|
@ -265,7 +265,7 @@ module.exports = class LevelHUDView extends CocoView
|
|||
return null # included in the bar
|
||||
context =
|
||||
prop: prop
|
||||
hasIcon: prop in ['health', 'pos', 'target', 'collectedThangIDs', 'gold', 'bountyGold', 'visualRange', 'attackDamage', 'attackRange', 'maxSpeed']
|
||||
hasIcon: prop in ['health', 'pos', 'target', 'collectedThangIDs', 'gold', 'bountyGold', 'visualRange', 'attackDamage', 'attackRange', 'maxSpeed', 'attackNearbyEnemyRange']
|
||||
hasBar: prop in ['health']
|
||||
$(prop_template(context))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue