Merge branch 'master' into production

This commit is contained in:
Matt Lott 2015-05-12 20:51:27 -07:00
commit 674ad9e730
4 changed files with 59 additions and 52 deletions

View file

@ -12,17 +12,24 @@ module.exports = class ThangType extends CocoModel
@heroes:
captain: '529ec584c423d4e83b000014'
knight: '529ffbf1cf1818f2be000001'
'samurai': '53e12be0d042f23505c3023b'
'ninja': '52fc0ed77e01835453bd8f6c'
samurai: '53e12be0d042f23505c3023b'
raider: '55527eb0b8abf4ba1fe9a107'
goliath: ''
guardian: ''
ninja: '52fc0ed77e01835453bd8f6c'
'forest-archer': '5466d4f2417c8b48a9811e87'
trapper: '5466d449417c8b48a9811e83'
pixie: ''
assassin: ''
librarian: '52fbf74b7e01835453bd8d8e'
'potion-master': '52e9adf7427172ae56002172'
sorcerer: '52fd1524c7e6cf99160e7bc9'
necromancer: ''
'dark-wizard': ''
@heroClasses:
Warrior: ['captain', 'knight', 'samurai']
Ranger: ['ninja', 'forest-archer', 'trapper']
Wizard: ['librarian', 'potion-master', 'sorcerer']
Warrior: ['captain', 'knight', 'samurai', 'raider', 'goliath', 'guardian']
Ranger: ['ninja', 'forest-archer', 'trapper', 'pixie', 'assassin']
Wizard: ['librarian', 'potion-master', 'sorcerer', 'necromancer', 'dark-wizard']
@items:
'simple-boots': '53e237bf53457600003e3f05'
urlRoot: '/db/thang.type'

View file

@ -87,7 +87,7 @@ $heroCanvasHeight: 275px
margin-left: 0
.hero-indicator
width: 104px
width: 97px
height: 98px
margin: 0 -11px
position: relative

View file

@ -101,7 +101,7 @@ module.exports = class LevelHUDView extends CocoView
createProperties: ->
if @thang.id in ['Hero Placeholder', 'Hero Placeholder 1']
name = {knight: 'Tharin', captain: 'Anya', librarian: 'Hushbaum', sorcerer: 'Pender', 'potion-master': 'Omarn', samurai: 'Hattori', ninja: 'Amara'}[@thang.type] ? 'Hero'
name = {knight: 'Tharin', captain: 'Anya', librarian: 'Hushbaum', sorcerer: 'Pender', 'potion-master': 'Omarn', samurai: 'Hattori', ninja: 'Amara', raider: 'Arryn', goliath: 'Okar', guardian: 'Illia', pixie: 'Zana', assassin: 'Ritic', necromancer: 'Nalfar', 'dark-wizard': 'Usara'}[@thang.type] ? 'Hero'
else
name = @thang.hudName or (if @thang.type then "#{@thang.id} - #{@thang.type}" else @thang.id)
utils.replaceText @$el.find('.thang-name'), name

View file

@ -659,8 +659,8 @@ module.exports = class InventoryModal extends ModalView
heroGenders =
male: ['knight', 'samurai', 'trapper', 'potion-master']
female: ['captain', 'ninja', 'forest-archer', 'librarian', 'sorcerer']
male: ['knight', 'samurai', 'trapper', 'potion-master', 'goliath', 'assassin', 'necromancer']
female: ['captain', 'ninja', 'forest-archer', 'librarian', 'sorcerer', 'raider', 'guardian', 'pixie', 'dark-wizard']
gear =
'simple-boots': '53e237bf53457600003e3f05'