mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-04 18:09:09 +00:00
[https://github.com/HabitRPG/habitrpg/issues/2001] hotfix, perception
increases GP by .03/pt
This commit is contained in:
parent
4eab12b355
commit
d3e3775ecd
2 changed files with 2 additions and 2 deletions
2
dist/habitrpg-shared.js
vendored
2
dist/habitrpg-shared.js
vendored
|
|
@ -11530,7 +11530,7 @@ var process=require("__browserify_process");(function() {
|
|||
intMod = 1 + (user._statsComputed.int / 100);
|
||||
stats.exp += Math.round(delta * XP * intMod * task.priority * crit);
|
||||
gpMod = delta * task.priority * crit;
|
||||
gpMod *= user._statsComputed.per * .03;
|
||||
gpMod *= 1 + user._statsComputed.per * .03;
|
||||
return stats.gp += task.streak ? (streakBonus = task.streak / 100 + 1, afterStreak = gpMod * streakBonus, gpMod > 0 ? user._tmp.streakBonus = afterStreak - gpMod : void 0, afterStreak) : gpMod;
|
||||
};
|
||||
subtractPoints = function() {
|
||||
|
|
|
|||
|
|
@ -679,7 +679,7 @@ api.wrap = (user) ->
|
|||
|
||||
# GP modifier
|
||||
gpMod = delta * task.priority * crit
|
||||
gpMod *= (user._statsComputed.per *.03) # Factor in PER
|
||||
gpMod *= (1 + user._statsComputed.per *.03) # Factor in PER
|
||||
stats.gp +=
|
||||
if task.streak
|
||||
streakBonus = task.streak / 100 + 1 # eg, 1-day streak is 1.1, 2-day is 1.2, etc
|
||||
|
|
|
|||
Loading…
Reference in a new issue