Client sept 12 (#9032)

* Removed load all members from challengs

* Fixed chalenge member modal loading

* Fixed party setting

* Fixed chat showing

* Fixed armoire drops

* Ignored lint issue

* Fixed buying old armoir items

* Fixed hatching

* Fixed pending damage
This commit is contained in:
Keith Holliday
2017-09-12 12:56:06 -05:00
committed by GitHub
parent 0c6540e6d8
commit e29c393629
9 changed files with 36 additions and 12 deletions

View File

@@ -5,9 +5,9 @@ export default function createAnimal (egg, potion, type, content, userItems) {
key: animalKey,
class: type === 'pet' ? `Pet Pet-${animalKey}` : `Mount_Icon_${animalKey}`,
eggKey: egg.key,
eggName: egg.text(),
eggName: egg.text,
potionKey: potion.key,
potionName: potion.text(),
potionName: potion.text,
name: content[`${type}Info`][animalKey].text(),
isOwned () {
return userItems[`${type}s`][animalKey] > 0;