mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-23 22:27:06 +00:00
fix https://github.com/HabitRPG/habitrpg/issues/2156 stack stealth
This commit is contained in:
parent
77a1c91422
commit
dfa25c6f3a
2 changed files with 2 additions and 2 deletions
2
dist/habitrpg-shared.js
vendored
2
dist/habitrpg-shared.js
vendored
|
|
@ -10177,7 +10177,7 @@ var global=self;/**
|
|||
if ((_base = user.stats.buffs).stealth == null) {
|
||||
_base.stealth = 0;
|
||||
}
|
||||
return user.stats.buffs.stealth = Math.ceil(user._statsComputed.per * .03);
|
||||
return user.stats.buffs.stealth += Math.ceil(user._statsComputed.per * .03);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -337,7 +337,7 @@ api.spells =
|
|||
notes: "You duck into the shadows, pulling up your hood. Many dailies won't find you this night; fewer yet the higher your Perception."
|
||||
cast: (user, target) ->
|
||||
user.stats.buffs.stealth ?= 0
|
||||
user.stats.buffs.stealth = Math.ceil(user._statsComputed.per * .03)
|
||||
user.stats.buffs.stealth += Math.ceil(user._statsComputed.per * .03)
|
||||
|
||||
healer:
|
||||
heal:
|
||||
|
|
|
|||
Loading…
Reference in a new issue