diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 6a6fe1610b..be4b76b99e 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -11017,9 +11017,7 @@ api.spells = { target.value += diminishingReturns(bonus * .02, 4); bonus *= Math.ceil((target.value < 0 ? 1 : target.value + 1) * .075); user.stats.exp += diminishingReturns(bonus, 75); - if (user.party.quest.key) { - return user.party.quest.progress.up += diminishingReturns(bonus * .1, 50, 30); - } + return user.party.quest.progress.up += diminishingReturns(bonus * .1, 50, 30); } }, mpheal: { @@ -11075,9 +11073,7 @@ api.spells = { notes: t('spellWarriorSmashNotes'), cast: function(user, target) { target.value += 2.5 * (user._statsComputed.str / (user._statsComputed.str + 50)) * user.fns.crit('con'); - if (user.party.quest.key) { - return user.party.quest.progress.up += Math.ceil(user._statsComputed.str * .2); - } + return user.party.quest.progress.up += Math.ceil(user._statsComputed.str * .2); } }, defensiveStance: { @@ -14220,4 +14216,4 @@ api.wrap = function(user, main) { }).call(this,require("/Users/lefnire/Dropbox/Sites/habitrpg/modules/habitrpg-shared/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js")) -},{"./content.coffee":5,"./i18n.coffee":6,"/Users/lefnire/Dropbox/Sites/habitrpg/modules/habitrpg-shared/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":2,"lodash":3,"moment":4}]},{},[1]) \ No newline at end of file +},{"./content.coffee":5,"./i18n.coffee":6,"/Users/lefnire/Dropbox/Sites/habitrpg/modules/habitrpg-shared/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":2,"lodash":3,"moment":4}]},{},[1])