mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-11 22:46:47 +00:00
classes: temp hotfix for OP pickpocket, add values instead of multiply
This commit is contained in:
parent
930225aa19
commit
254198c8ab
2 changed files with 2 additions and 2 deletions
2
dist/habitrpg-shared.js
vendored
2
dist/habitrpg-shared.js
vendored
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue