feat(customize): earrings and headbands

This commit is contained in:
SabreCat
2018-05-29 21:02:42 +00:00
parent 821f84dbe8
commit a0e2d6a05e
30 changed files with 102 additions and 6 deletions

View File

@@ -252,7 +252,7 @@ let schema = new Schema({
gear: {
owned: _.transform(shared.content.gear.flat, (m, v) => {
m[v.key] = {type: Boolean};
if (v.key.match(/(armor|head|shield)_warrior_0/) || v.gearSet === 'glasses') {
if (v.key.match(/(armor|head|shield)_warrior_0/) || v.gearSet === 'glasses' || v.gearSet === 'headband' ) {
m[v.key].default = true;
}
}),