()
| 464 | // Item functions |
| 465 | |
| 466 | getAllowedSlots () { |
| 467 | const itemComponentRef = _.find( |
| 468 | this.get('components') || [], |
| 469 | compRef => compRef.original === LevelComponent.ItemID) |
| 470 | return __guard__(itemComponentRef != null ? itemComponentRef.config : undefined, x => x.slots) || ['right-hand'] // ['right-hand'] is default |
| 471 | } |
| 472 | |
| 473 | getAllowedHeroClasses () { |
| 474 | const heroClass = this.get('heroClass') |
no test coverage detected