From dacaf41d636d8eec22fd71c45f31d68a590fe3e3 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Tue, 18 Nov 2014 16:39:42 -0800 Subject: [PATCH] fix(MMM): typo --- dist/habitrpg-shared.js | 6 +----- script/content.coffee | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 06f8a3f5be..97d7def492 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -10124,7 +10124,7 @@ gear = { value: 200, canOwn: (function(u) { var _ref; - return +((_ref = u.backer) != null ? _ref.tier : void 0) >= 300; + return (+((_ref = u.backer) != null ? _ref.tier : void 0) >= 300) || (u.items.gear.owned.weapon_special_3 != null); }) }, critical: { @@ -13323,10 +13323,6 @@ api.quests = { drop: { items: [ { - type: 'gear', - key: "armor_special_2", - text: t('armorSpecial2Text') - }, { type: 'food', key: 'Honey', text: t('questGoldenknight3DropHoney') diff --git a/script/content.coffee b/script/content.coffee index 476e401fa0..faf75c2f16 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -88,7 +88,7 @@ gear = 0: text: t('weaponSpecial0Text'), notes: t('weaponSpecial0Notes', {str: 20}), str: 20, value:150, canOwn: ((u)-> +u.backer?.tier >= 70) 1: text: t('weaponSpecial1Text'), notes: t('weaponSpecial1Notes', {attrs: 6}), str: 6, per: 6, con: 6, int: 6, value:170, canOwn: ((u)-> +u.contributor?.level >= 4) 2: text: t('weaponSpecial2Text'), notes: t('weaponSpecial2Notes', {attrs: 25}), str: 25, per: 25, value:200, canOwn: ((u)-> (+u.backer?.tier >= 300) or u.items.gear.owned.weapon_special_2?) - 3: text: t('weaponSpecial3Text'), notes: t('weaponSpecial3Notes', {attrs: 17}), str: 17, int: 17, con: 17, value:200, canOwn: ((u)-> (+u.backer?.tier >= 300) or or u.items.gear.owned.weapon_special_3?) + 3: text: t('weaponSpecial3Text'), notes: t('weaponSpecial3Notes', {attrs: 17}), str: 17, int: 17, con: 17, value:200, canOwn: ((u)-> (+u.backer?.tier >= 300) or u.items.gear.owned.weapon_special_3?) critical: text: t('weaponSpecialCriticalText'), notes: t('weaponSpecialCriticalNotes', {attrs: 40}), str: 40, per: 40, value:200, canOwn: ((u)-> !!u.contributor?.critical) # Winter event gear yeti: event: events.winter, specialClass: 'warrior', text: t('weaponSpecialYetiText'), notes: t('weaponSpecialYetiNotes', {str: 15}), str: 15, value:90