| 58 | } |
| 59 | |
| 60 | static initClass () { |
| 61 | this.className = 'ThangType' |
| 62 | this.schema = require('schemas/models/thang_type') |
| 63 | this.heroes = utils.showOzaria() ? ThangTypeConstants.ozariaHeroes : ThangTypeConstants.heroes |
| 64 | this.heroClasses = ThangTypeConstants.heroClasses |
| 65 | this.items = ThangTypeConstants.items |
| 66 | this.prototype.urlRoot = '/db/thang.type' |
| 67 | this.prototype.building = {} |
| 68 | this.prototype.editableByArtisans = true |
| 69 | this.defaultActions = ['idle', 'die', 'move', 'attack', 'trick', 'cast'] |
| 70 | this.heroConfigStats = {} |
| 71 | // Build a cache of these for quickly determining hero/item loadout aggregate stats |
| 72 | } |
| 73 | |
| 74 | initialize () { |
| 75 | super.initialize() |