From bffce00a243247ba4643b6688fdd893f67f28291 Mon Sep 17 00:00:00 2001 From: Taldin Date: Fri, 24 Oct 2014 13:24:09 -0700 Subject: [PATCH] Fix possible bug when losing Jean Chalard's tunic Can't buy back armor_special_2 without being a backer. Other legendary quest items have this extra code. --- script/content.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/content.coffee b/script/content.coffee index 36b6cef333..9c3d3b9ce0 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -144,7 +144,7 @@ gear = special: 0: text: t('armorSpecial0Text'), notes: t('armorSpecial0Notes', {con: 20}), con: 20, value:150, canOwn: ((u)-> +u.backer?.tier >= 45) 1: text: t('armorSpecial1Text'), notes: t('armorSpecial1Notes', {attrs: 6}), con: 6, str: 6, per: 6, int: 6, value:170, canOwn: ((u)-> +u.contributor?.level >= 2) - 2: text: t('armorSpecial2Text'), notes: t('armorSpecial2Notes', {attrs: 25}), int: 25, con: 25, value:200, canOwn: ((u)-> +u.backer?.tier >= 300) + 2: text: t('armorSpecial2Text'), notes: t('armorSpecial2Notes', {attrs: 25}), int: 25, con: 25, value:200, canOwn: ((u)-> +u.backer?.tier >= 300 or u.items.gear.owned.armor_special_2?) #Winter event yeti: event: events.winter, specialClass: 'warrior', text: t('armorSpecialYetiText'), notes: t('armorSpecialYetiNotes', {con: 9}), con: 9, value:90 ski: event: events.winter, specialClass: 'rogue', text: t('armorSpecialSkiText'), notes: t('armorSpecialSkiText', {per: 15}), per: 15, value:90