mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-25 23:25:51 +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
|
||||
calculateDelta()
|
||||
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
|
||||
multiplier = task.checklist?.length || 1
|
||||
mpDelta = _.max([(multiplier), (.01 * user._statsComputed.maxMP * multiplier)])
|
||||
|
|
|
|||
Loading…
Reference in a new issue