You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/store/index.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ export default createStore({
26
26
Number(newDate().setHours(23,59,59,999)))/
27
27
(1000*24*60*60);//calculate number of days until the task is due
28
28
constdateMultiplier: number=
29
-
daysToDue<0 ? 0.5: 1+1/(daysToDue+1);//if task is overdue, xp multiplier is half the amount, else xp multiplier bonus increases when task gets closer to due date
29
+
daysToDue<0 ? -3/(daysToDue-1): 1+1/(daysToDue+1);//if task is overdue, xp multiplier is less than 1 that decreases over time when task is overdue, else xp multiplier bonus increases (more than 1) when task gets closer to due date
30
30
letrepeatMultiplier: number;//calculate task repetition multiplier based on task repetition occurance and task repetition frequency
0 commit comments