From 254198c8ab804a07fa1a4009e2f9022bcbe99b9e Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Tue, 17 Dec 2013 21:52:17 -0700 Subject: [PATCH] classes: temp hotfix for OP pickpocket, add values instead of multiply --- dist/habitrpg-shared.js | 2 +- script/content.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 15f924a3a1..4506a4c379 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 += ((target.value < 0 ? 0 : target.value) + 2) * user._statsComputed.per * .03; + return user.stats.gp += ((target.value < 0 ? 0 : target.value) + 1) + user._statsComputed.per / 2; } }, backStab: { diff --git a/script/content.coffee b/script/content.coffee index 6570bb5642..acc9b7a5d4 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 += ((if target.value < 0 then 0 else target.value) + 2) * user._statsComputed.per*.03 + user.stats.gp += ((if target.value < 0 then 0 else target.value) + 1) + user._statsComputed.per/2 backStab: text: 'Backstab' mana: 15