mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
remove console.log from MP calculation
This commit is contained in:
parent
98e0c5213e
commit
c4e7e13ee1
1 changed files with 0 additions and 1 deletions
|
|
@ -845,7 +845,6 @@ api.wrap = (user, main=true) ->
|
||||||
else
|
else
|
||||||
calculateDelta()
|
calculateDelta()
|
||||||
addPoints() # obviously for delta>0, but also a trick to undo accidental checkboxes
|
addPoints() # obviously for delta>0, but also a trick to undo accidental checkboxes
|
||||||
console.log(task.checklist?.length)
|
|
||||||
# MP++ per checklist item in ToDo, bonus per CLI
|
# MP++ per checklist item in ToDo, bonus per CLI
|
||||||
multiplier = task.checklist?.length || 1
|
multiplier = task.checklist?.length || 1
|
||||||
mpDelta = _.max([(multiplier), (.01 * user._statsComputed.maxMP * multiplier)])
|
mpDelta = _.max([(multiplier), (.01 * user._statsComputed.maxMP * multiplier)])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue