diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index e6708e436d..4be4280fef 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -13266,6 +13266,7 @@ api.quests = { text: t('questGoldenknight1Text'), notes: t('questGoldenknight1Notes'), value: 4, + lvl: 40, collect: { testimony: { text: t('questGoldenknight1CollectTestimony'), @@ -13289,6 +13290,7 @@ api.quests = { notes: t('questGoldenknight2Notes'), value: 4, previous: 'goldenknight1', + lvl: 45, boss: { name: t('questGoldenknight2Boss'), hp: 1000, @@ -13312,6 +13314,7 @@ api.quests = { completion: t('questGoldenknight3Completion'), previous: 'goldenknight2', value: 4, + lvl: 50, boss: { name: t('questGoldenknight3Boss'), hp: 1700, @@ -15490,7 +15493,8 @@ api.wrap = function(user, main) { _.each({ vice1: 30, atom1: 15, - moonstone1: 60 + moonstone1: 60, + goldenknight1: 40 }, function(lvl, k) { var _base, _base1, _ref; if (!((_ref = user.flags.levelDrops) != null ? _ref[k] : void 0) && user.stats.lvl >= lvl) { diff --git a/script/content.coffee b/script/content.coffee index 46860da69f..1211539da8 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -1200,6 +1200,7 @@ api.quests = text: t('questGoldenknight1Text') notes: t('questGoldenknight1Notes') value: 4 + lvl: 40 collect: testimony: text: t('questGoldenknight1CollectTestimony'), count: 300 drop: @@ -1213,6 +1214,7 @@ api.quests = notes: t('questGoldenknight2Notes') value: 4 previous: 'goldenknight1' + lvl: 45 boss: name: t('questGoldenknight2Boss') hp: 1000 @@ -1229,6 +1231,7 @@ api.quests = completion: t('questGoldenknight3Completion') previous: 'goldenknight2' value: 4 + lvl: 50 boss: name: t('questGoldenknight3Boss') hp: 1700 diff --git a/script/index.coffee b/script/index.coffee index 08ce7f7d02..19ce75f167 100644 --- a/script/index.coffee +++ b/script/index.coffee @@ -1256,7 +1256,7 @@ api.wrap = (user, main=true) -> if !user.flags.classSelected and user.stats.lvl >= 10 user.flags.classSelected # Level Drops - _.each {vice1:30, atom1:15, moonstone1:60}, (lvl,k)-> + _.each {vice1:30, atom1:15, moonstone1:60, goldenknight1: 40}, (lvl,k)-> if !user.flags.levelDrops?[k] and user.stats.lvl >= lvl user.items.quests[k] ?= 0 user.items.quests[k]++