diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 0ec361426a..7b80247dba 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -10115,7 +10115,7 @@ var global=self;/** target: 'task', notes: "Your nimble fingers run through the task's pockets and 'find' some treasures for yourself. You gain an increased gold bonus on the task and a higher chance of an item drop.", cast: function(user, target) { - return user.stats.gp += (user._statsComputed.per / 2) * Math.abs(target.value); + return user.stats.gp += ((target.value < 0 ? 0 : target.value) + 2) * user._statsComputed.per * .03; } }, backStab: { diff --git a/script/content.coffee b/script/content.coffee index be95df6fb2..de6094653b 100644 --- a/script/content.coffee +++ b/script/content.coffee @@ -298,7 +298,7 @@ api.spells = target: 'task' notes: "Your nimble fingers run through the task's pockets and 'find' some treasures for yourself. You gain an increased gold bonus on the task and a higher chance of an item drop." cast: (user, target) -> - user.stats.gp += (user._statsComputed.per/2) * Math.abs(target.value) + user.stats.gp += ((if target.value < 0 then 0 else target.value) + 2) * user._statsComputed.per*.03 backStab: text: 'Backstab' mana: 15