mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
Update src/app/scoring.coffee
possible typo, sorry for jumping in if it is right.
This commit is contained in:
parent
ecbe791e45
commit
f608e05083
1 changed files with 2 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ updateStats = (stats) ->
|
|||
# game over
|
||||
if stats.hp <= 0
|
||||
user.set 'stats.lvl', 0 # this signifies dead
|
||||
user.set 'stast.hp', 0
|
||||
user.set 'stats.hp', 0
|
||||
return
|
||||
else
|
||||
user.set 'stats.hp', stats.hp
|
||||
|
|
@ -278,4 +278,4 @@ module.exports = {
|
|||
expModifier: expModifier
|
||||
hpModifier: hpModifier
|
||||
taskDeltaFormula: taskDeltaFormula
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue